Tweaks to popup help messages.

This commit is contained in:
pdw
2002-10-25 14:28:34 +00:00
parent 3c28e7ccfa
commit d2a11512c1

5
ui.c
View File

@@ -581,8 +581,7 @@ void ui_print() {
if(showhelphint) { if(showhelphint) {
mvaddstr(0, 0, helpmsg); mvaddstr(0, 0, helpmsg);
clrtoeol(); mvchgat(0, 0, strlen(helpmsg), A_REVERSE, 0, NULL);
mvchgat(0, 0, -1, A_REVERSE, 0, NULL);
} }
move(LINES - 1, COLS - 1); move(LINES - 1, COLS - 1);
@@ -836,6 +835,7 @@ void ui_loop() {
} }
} }
dontshowdisplay = 0; dontshowdisplay = 0;
ui_print();
break; break;
} }
case 'l': { case 'l': {
@@ -847,6 +847,7 @@ void ui_loop() {
} }
} }
dontshowdisplay = 0; dontshowdisplay = 0;
ui_print();
break; break;
} }
case '!': { case '!': {