You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only way to exit fakedos() is to type a fake rogue command, but the original also returned to game on any non-ASCII key press. The culprit is that now getinfo() ignores non-ASCII keys instead of aborting entry, which is suitable for all other text entries like Rogue's Name on title screen, naming potions and scrolls, etc, but it breaks fakedos() original functionality.
A possible solution is to split getinfo() in 2 methods: one for "regular" text entries, possibly a thin wrapper to curse's getnstr(), and another one dedicated to fakedos, reverted to original behavior.
The text was updated successfully, but these errors were encountered:
Currently the only way to exit
fakedos()
is to type a fakerogue
command, but the original also returned to game on any non-ASCII key press. The culprit is that nowgetinfo()
ignores non-ASCII keys instead of aborting entry, which is suitable for all other text entries like Rogue's Name on title screen, naming potions and scrolls, etc, but it breaksfakedos()
original functionality.A possible solution is to split
getinfo()
in 2 methods: one for "regular" text entries, possibly a thin wrapper to curse'sgetnstr()
, and another one dedicated to fakedos, reverted to original behavior.The text was updated successfully, but these errors were encountered: