Files
nethack/doc
PatR a2c2e0b1c6 fix github issue #1250 and #1229 - ^A issues
Reported by ars3nly as "#1250: Repeating #sit causes a sitting loop",
with a followup comment describing how to reproduce easily, and by
Umbire as "#1229: Curses and extended command menus".  Repeat count
from previous command carried over to current command when ^A was
used to re-run the current one.

Reset 'last_command_count' every time a repeat count is obtained,
even when the new one is 0.  This is a much simpler fix than what
was used with several previous attempts, but it seems to be working.

The do-again code is convoluted, but the tricky bit was the fact
that this problem only happened when number_pad was On with repeat
counts entered as 'n<digits>'.  I still don't understand that aspect,
but it wasn't happening for count of simple '<digits>', making
reproducing it by someone who doesn't use number_pad be difficult....

Closes #1229
Closes #1250
2024-06-17 15:17:50 -07:00
..
2022-06-18 10:29:15 -04:00
2024-02-28 20:15:56 -08:00
2023-08-28 16:17:41 -04:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2024-02-28 20:15:56 -08:00
2024-05-16 23:38:54 -07:00
2018-11-11 10:29:52 -05:00
2018-11-11 10:29:52 -05:00
2024-02-28 20:15:56 -08:00
2024-02-29 09:03:00 -05:00
2024-02-28 20:15:56 -08:00
2022-02-22 20:14:44 -05:00
2024-02-28 20:15:56 -08:00
2024-02-29 07:40:19 -05:00
2024-03-19 18:59:23 +02:00