commit f033f811d1d2cb2f17416878ae7373b2accb57a3
parent ff8f8405e9e26b9d1362e7ecae6a6fe47bd6f351
Author: Michael Savage <mikejsavage@gmail.com>
Date: Thu, 6 Sep 2018 13:21:25 +0300
Redraw when scrolling
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/x11.cc b/src/x11.cc
@@ -599,6 +599,7 @@ static void event_key_press( XEvent * xevent ) {
textbox_scroll( &UI.main_text, 1 );
else
textbox_page_up( &UI.main_text );
+ textbox_draw( &UI.main_text );
break;
case XK_Page_Down:
@@ -606,6 +607,7 @@ static void event_key_press( XEvent * xevent ) {
textbox_scroll( &UI.main_text, -1 );
else
textbox_page_down( &UI.main_text );
+ textbox_draw( &UI.main_text );
break;
case XK_Up: