oops: the yesno prompt for replacing does not want a visible cursor
parent
e4b8d6fab5
commit
ac41587d4e
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue