mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix swallowing of last line on prompt display. Again. How many times have I triggered this bug?
darcs-hash:20071015132106-75c98-11863d8b1743b84f6ad448b64e5ccdeb5aaa5a2f.gz
This commit is contained in:
parent
e54ce9a147
commit
0c1b40e3b3
1 changed files with 2 additions and 2 deletions
4
screen.c
4
screen.c
|
@ -931,10 +931,10 @@ void s_reset( screen_t *s, int reset_cursor )
|
|||
This should prevent reseting the cursor position during the
|
||||
next repaint.
|
||||
*/
|
||||
fstat( 1, &s->prev_buff_1 );
|
||||
fstat( 2, &s->prev_buff_2 );
|
||||
write( 1, "\r", 1 );
|
||||
s->actual_cursor[1] = prev_line;
|
||||
}
|
||||
fstat( 1, &s->prev_buff_1 );
|
||||
fstat( 2, &s->prev_buff_2 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue