From a80fa10287eabc5ade643ed0ad3acdb62c912ebe Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 20 Oct 2000 12:31:02 +0000 Subject: [PATCH] Remember to update scrollbar when scrollback is reset [originally from svn r727] --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index 7d3c60ca..81603e5b 100644 --- a/terminal.c +++ b/terminal.c @@ -215,6 +215,7 @@ void term_update(void) { (seen_disp_event && (!cfg.scroll_on_key)) ) { disptop = scrtop; seen_disp_event = seen_key_event = 0; + update_sbar(); } do_paint (ctx, TRUE); sys_cursor(curs_x, curs_y + (scrtop - disptop) / (cols+1));