oops: the yesno prompt for replacing does not want a visible cursor

master
Benno Schulenberg 2016-11-30 13:47:50 +01:00
parent e4b8d6fab5
commit ac41587d4e
2 changed files with 3 additions and 3 deletions

View File

@ -794,9 +794,6 @@ 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,6 +2079,9 @@ void warn_and_shortly_pause(const char *msg)
statusbar(msg);
beep();
napms(1800);
/* Switch the cursor back on after displaying the message. */
curs_set(1);
}
/* Display a message on the statusbar, and set suppress_cursorpos to