Skip to content

Commit d745064

Browse files
Fix positioning of exit confirmation (compatibilitiy with latest prompt_toolkit).
1 parent 836431f commit d745064

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ptpython/layout.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,8 @@ def menu_position() -> int | None:
694694
),
695695
Float(
696696
left=2,
697-
bottom=1,
697+
top=2,
698+
height=3,
698699
content=self.exit_confirmation,
699700
),
700701
Float(

0 commit comments

Comments
 (0)