Opened 11 years ago

Closed 10 years ago

#1139 closed bug (fixed (in master))

actions menu doesn't work with repeating actions

Reported by: david20708@… Owned by:
Milestone: 3.2.0 Keywords: commands


I'm working on my port of Angband to Android to add support for
devices without keyboards, and I'm running into a bug that seems to be affecting other platforms. I've verified that it also affects the curses version. This is with the latest SVN code and also affects 3.1.2v2.

If you press return, arrow down to the "action commands", then press
return on any item that has a non-zero auto_repeat_n (search, bash,
tunnel, etc.), the command executes one time, but then the menu stays on the screen. Each time that you press "escape", the command
executes an additional time.

Change History (2)

comment:1 Changed 10 years ago by magnate

  • Keywords commands added
  • Milestone changed from Triage to 3.1.3
  • Status changed from new to confirmed

Confirmed with 0,99,enter,s - this is a bug. I'd suggest that any command count is zeroed on entry to the main menu. Repeatable commands selected from that menu could have a sensible default repeat level set (like, say, 10 - though there is other discussion on Oook about repeatable commands and confidence intervals).

comment:2 Changed 10 years ago by ajps

  • Resolution set to fixed
  • Status changed from confirmed to closed

Fixed as a side-effect of [1fae911] (SVN r2032). Which is nice.

Note: See TracTickets for help on using tickets.