Skip to content

Commit

Permalink
Fix swallowing of last line on prompt display. Again. How many times …
Browse files Browse the repository at this point in the history
…have I triggered this bug?

darcs-hash:20071015132106-75c98-11863d8b1743b84f6ad448b64e5ccdeb5aaa5a2f.gz
  • Loading branch information
liljencrantz committed Oct 15, 2007
1 parent e54ce9a commit 0c1b40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

0 comments on commit 0c1b40e

Please sign in to comment.