From: Dan Winship Date: Tue, 28 Jan 2014 13:43:54 +0000 (-0500) Subject: Restore cursor position after changing help line X-Git-Tag: r0-52-17~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6c968d206c5f1d4b40a52f4aae2e0b1640e3c2a;p=thirdparty%2Fnewt.git Restore cursor position after changing help line --- diff --git a/newt.c b/newt.c index be32108..1a913a0 100644 --- 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) {