tweaks: move a switching on of the cursor to a more logical place
parent
7401670d58
commit
72e8bcb027
|
@ -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)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue