Commit 72e8bcb0 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

parent 7401670d
Showing with 3 additions and 2 deletions
+3 -2
...@@ -794,6 +794,9 @@ int do_yesno_prompt(bool all, const char *msg) ...@@ -794,6 +794,9 @@ 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,8 +2079,6 @@ void warn_and_shortly_pause(const char *msg) ...@@ -2079,8 +2079,6 @@ void warn_and_shortly_pause(const char *msg)
statusbar(msg); statusbar(msg);
beep(); beep();
napms(1800); napms(1800);
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