tweaks: move a switching on of the cursor to a more logical place

master
Benno Schulenberg 2016-11-30 11:11:06 +01:00
parent 7401670d58
commit 72e8bcb027
2 changed files with 3 additions and 2 deletions

View File

@ -794,6 +794,9 @@ int do_yesno_prompt(bool all, const char *msg)
wnoutrefresh(edit);
wnoutrefresh(bottomwin);
/* Ensure that the cursor is visible when waiting for input. */
curs_set(1);
currmenu = MYESNO;
kbinput = get_kbinput(bottomwin);

View File

@ -2079,8 +2079,6 @@ void warn_and_shortly_pause(const char *msg)
statusbar(msg);
beep();
napms(1800);
curs_set(1);
}
/* Display a message on the statusbar, and set suppress_cursorpos to