Skip to content

Commit c6b7b44

Browse files
Cleanup.
1 parent aabd95b commit c6b7b44

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/prompt_toolkit/shortcuts/prompt.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,7 @@
8383
from prompt_toolkit.key_binding.key_processor import KeyPressEvent
8484
from prompt_toolkit.keys import Keys
8585
from prompt_toolkit.layout import Float, FloatContainer, HSplit, Window
86-
from prompt_toolkit.layout.containers import (
87-
AnyContainer,
88-
ConditionalContainer,
89-
WindowAlign,
90-
)
86+
from prompt_toolkit.layout.containers import ConditionalContainer, WindowAlign
9187
from prompt_toolkit.layout.controls import (
9288
BufferControl,
9389
FormattedTextControl,
@@ -646,11 +642,11 @@ def multi_column_complete_style() -> bool:
646642
HSplit(
647643
[
648644
ConditionalContainer(
649-
Window(
650-
FormattedTextControl(get_prompt_text_1),
651-
dont_extend_height=True,
652-
),
653-
Condition(has_before_fragments),
645+
Window(
646+
FormattedTextControl(get_prompt_text_1),
647+
dont_extend_height=True,
648+
),
649+
Condition(has_before_fragments),
654650
),
655651
ConditionalContainer(
656652
default_buffer_window,

0 commit comments

Comments
 (0)