in do_yesno(), het input from bottomwin instead of edit, so that the
cursor isn't erroneously put in the edit window while we wait for an answer git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
1aee5cc599
commit
44e0c03fff
|
@ -376,6 +376,9 @@ CVS code -
|
||||||
- Allow refreshing the screen via Ctrl-L, as Pico does. (DLR)
|
- Allow refreshing the screen via Ctrl-L, as Pico does. (DLR)
|
||||||
- Add a missing assert, and use actual_x() to calculate the
|
- Add a missing assert, and use actual_x() to calculate the
|
||||||
number of characters buf takes up, in case it's UTF-8. (DLR)
|
number of characters buf takes up, in case it's UTF-8. (DLR)
|
||||||
|
- Get input from bottomwin instead of edit, so that the cursor
|
||||||
|
isn't erroneously put in the edit window while we wait for an
|
||||||
|
answer. (DLR)
|
||||||
total_redraw()
|
total_redraw()
|
||||||
- Simplify to call clearok(TRUE) and wrefresh() on curscr, which
|
- Simplify to call clearok(TRUE) and wrefresh() on curscr, which
|
||||||
updates the entire screen in fewer function calls without
|
updates the entire screen in fewer function calls without
|
||||||
|
|
|
@ -3695,7 +3695,7 @@ int do_yesno(bool all, const char *msg)
|
||||||
int mouse_x, mouse_y;
|
int mouse_x, mouse_y;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
kbinput = get_kbinput(edit, &meta_key, &func_key);
|
kbinput = get_kbinput(bottomwin, &meta_key, &func_key);
|
||||||
|
|
||||||
if (kbinput == NANO_REFRESH_KEY) {
|
if (kbinput == NANO_REFRESH_KEY) {
|
||||||
total_redraw();
|
total_redraw();
|
||||||
|
|
Loading…
Reference in New Issue