From d2a11512c14845eeb54c404ed990fee3db8e46a6 Mon Sep 17 00:00:00 2001 From: pdw <> Date: Fri, 25 Oct 2002 14:28:34 +0000 Subject: [PATCH] Tweaks to popup help messages. --- ui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui.c b/ui.c index 37aad83..16e4759 100644 --- a/ui.c +++ b/ui.c @@ -581,8 +581,7 @@ void ui_print() { if(showhelphint) { mvaddstr(0, 0, helpmsg); - clrtoeol(); - mvchgat(0, 0, -1, A_REVERSE, 0, NULL); + mvchgat(0, 0, strlen(helpmsg), A_REVERSE, 0, NULL); } move(LINES - 1, COLS - 1); @@ -836,6 +835,7 @@ void ui_loop() { } } dontshowdisplay = 0; + ui_print(); break; } case 'l': { @@ -847,6 +847,7 @@ void ui_loop() { } } dontshowdisplay = 0; + ui_print(); break; } case '!': {