mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03: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:
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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user