Skip to content

Commit 07e3429

Browse files
fshowalterjonathanslenders
authored andcommitted
Ensure rprompt aligns with input.
Align the rprompt with the input line in the case of a multi-line prompt text. Since this is a change on the float, we can't simply style the rprompt to get the desired intent.
1 parent 334cffb commit 07e3429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompt_toolkit/shortcuts/prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def multi_column_complete_style() -> bool:
662662
# The right prompt.
663663
Float(
664664
right=0,
665-
top=0,
665+
bottom=0,
666666
hide_when_covering_content=True,
667667
content=_RPrompt(lambda: self.rprompt),
668668
),

0 commit comments

Comments
 (0)