Curses: fix extended command input
The extended command input prompt was behaving in an unintended way: Typing #a<enter> executed #adjust. Spaces in the entry prevented matching any command. No error message was given when no command was matched. Fix all of those, so it behaves more like the tty. Clean up the tty, curses, and X11 windowport code, so they don't use the extcmdlist array directly, but query with extcmds_match and extcmds_getentry.
This commit is contained in:
@@ -1050,6 +1050,7 @@ curses: sometimes entering a count during menu selection caused the menu to
|
||||
more digits typed followed by non-digit); in-out menu was still active
|
||||
but no longer displayed
|
||||
curses: support backspace/delete when entering a count during menu selection
|
||||
curses: make extended command prompt behave more sensibly
|
||||
macOS: Xcode project was failing to build if the path to the NetHack source
|
||||
tree contained a space; the issue was within some shell script code
|
||||
contained within the project
|
||||
|
||||
Reference in New Issue
Block a user