Commit ac41587d authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -794,9 +794,6 @@ int do_yesno_prompt(bool all, const char *msg) ...@@ -794,9 +794,6 @@ int do_yesno_prompt(bool all, const char *msg)
wnoutrefresh(edit); wnoutrefresh(edit);
wnoutrefresh(bottomwin); wnoutrefresh(bottomwin);
/* Ensure that the cursor is visible when waiting for input. */
curs_set(1);
currmenu = MYESNO; currmenu = MYESNO;
kbinput = get_kbinput(bottomwin); kbinput = get_kbinput(bottomwin);
......
...@@ -2079,6 +2079,9 @@ void warn_and_shortly_pause(const char *msg) ...@@ -2079,6 +2079,9 @@ void warn_and_shortly_pause(const char *msg)
statusbar(msg); statusbar(msg);
beep(); beep();
napms(1800); 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 /* Display a message on the statusbar, and set suppress_cursorpos to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment