From 0c1b40e3b3dfd281350b7ca639979860d4c20201 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Mon, 15 Oct 2007 23:21:06 +1000 Subject: [PATCH] Fix swallowing of last line on prompt display. Again. How many times have I triggered this bug? darcs-hash:20071015132106-75c98-11863d8b1743b84f6ad448b64e5ccdeb5aaa5a2f.gz --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen.c b/screen.c index 60b69f62c..5ca09f5bf 100644 --- a/screen.c +++ b/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 ); }