mirror of
https://github.com/nushell/reedline.git
synced 2024-08-17 11:50:42 +03:00
show right prompt on indicator line in last line mode (#501)
This commit is contained in:
parent
30713abe87
commit
39e6bc8eb3
@ -196,8 +196,7 @@ impl Painter {
|
||||
|
||||
let mut row = self.prompt_start_row;
|
||||
if lines.right_prompt_on_last_line {
|
||||
let required_lines = lines.required_lines(screen_width, None);
|
||||
row += required_lines.saturating_sub(1);
|
||||
row += lines.prompt_lines_with_wrap(screen_width);
|
||||
}
|
||||
|
||||
if input_width <= start_position {
|
||||
|
Loading…
Reference in New Issue
Block a user