Skip to content

Commit 5aea076

Browse files
MrMinojonathanslenders
authored andcommitted
Fix misspellings of CompletionsMenu in docs
1 parent 9cdc81b commit 5aea076

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prompt_toolkit/layout/containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ class FloatContainer(Container):
751751
floats=[
752752
Float(xcursor=True,
753753
ycursor=True,
754-
content=CompletionMenu(...))
754+
content=CompletionsMenu(...))
755755
])
756756
757757
:param z_index: (int or None) When specified, this can be used to bring

prompt_toolkit/layout/scrollable_pane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ScrollablePane(Container):
2929
3030
If you want to display a completion menu for widgets in this
3131
`ScrollablePane`, then it's still a good practice to use a
32-
`FloatContainer` with a `CompletionMenu` in a `Float` at the top-level
32+
`FloatContainer` with a `CompletionsMenu` in a `Float` at the top-level
3333
of the layout hierarchy, rather then nesting a `FloatContainer` in this
3434
`ScrollablePane`. (Otherwise, it's possible that the completion menu
3535
is clipped.)

0 commit comments

Comments
 (0)