]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
Restore cursor position after changing help line
authorDan Winship <danw@gnome.org>
Tue, 28 Jan 2014 13:43:54 +0000 (08:43 -0500)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 29 Jan 2014 10:04:51 +0000 (11:04 +0100)
newt.c

diff --git a/newt.c b/newt.c
index be321081a55813568edde9ed296e14c18eceb7a0..1a913a0977b71493aef5233c7c28ffeeb0c96d23 100644 (file)
--- a/newt.c
+++ b/newt.c
@@ -1063,6 +1063,7 @@ void newtRedrawHelpLine(void) {
     }
     SLsmg_gotorc(SLtt_Screen_Rows - 1, 0);
     SLsmg_write_string(buf);
+    SLsmg_gotorc(cursorRow, cursorCol);
 }
 
 void newtPushHelpLine(const char * text) {