more ^R
> clear stale prompt
[...]
> Can someone who understands the relevant windowing code fix ^R in getpos()?
I still don't understand why it wasn't working as expected, but moving
the existing cursor positioning after flush_screen() instead of before now
makes ^R work ok during getpos(). It doesn't restore the top line text so
isn't a transparent redraw but it now displays a prompt string there instead.
Likewise after typing '?' for help so that it should be move evident that
nethack is still waiting for you to move the cursor somewhere.
Also add support for ^L in numpad mode. I almost never use that and
didn't think of it the first time around.
This commit is contained in:
@@ -155,12 +155,13 @@ E boolean NDECL(status_hilite_menu);
|
||||
|
||||
/* ### cmd.c ### */
|
||||
|
||||
E boolean FDECL(redraw_cmd, (CHAR_P));
|
||||
#ifdef USE_TRAMPOLI
|
||||
E int NDECL(doextcmd);
|
||||
E int NDECL(domonability);
|
||||
E int NDECL(doprev_message);
|
||||
E int NDECL(timed_occupation);
|
||||
E int NDECL(wiz_attributes);
|
||||
E int NDECL(doattributes);
|
||||
E int NDECL(enter_explore_mode);
|
||||
# ifdef WIZARD
|
||||
E int NDECL(wiz_detect);
|
||||
|
||||
Reference in New Issue
Block a user