]> granicus.if.org Git - nethack/commitdiff
Allow meta-keys in getloc
authorPasi Kallinen <paxed@alt.org>
Thu, 29 Jul 2021 11:43:41 +0000 (14:43 +0300)
committerPasi Kallinen <paxed@alt.org>
Thu, 29 Jul 2021 11:43:46 +0000 (14:43 +0300)
Fix altmeta again, to (re)allow meta-keys in getloc, for example
fast-moving the cursor with altmeta and number_pad.

src/do_name.c

index 2bdc1ce660ac3c45c4a7893fca5baf4ee152c722..e2a51042cf6dcf0634336617679b0dd19b958b52 100644 (file)
@@ -734,6 +734,7 @@ getpos(coord *ccp, boolean force, const char *goal)
 
         rushrun = FALSE;
 
+        g.program_state.getting_a_command = 1;
         c = readchar_poskey(&tx, &ty, &sidx);
 
         if (hilite_state) {