Can't Backspace when entering numbers ((d)rop, (R)est) in console play

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smbhax
    Swordsman
    • Oct 2021
    • 340

    Can't Backspace when entering numbers ((d)rop, (R)est) in console play

    Playing in ASCII Cygwin or with an ASCII version I compiled using MSYS2 for Windows' cmd.exe, if I bring up a text prompt such as the one for (d)rop or (R)est, enter say one digit, then try hitting Backspace to clear that entered digit, Backspace does nothing. This also happens when for instance trying to Backspace a save file dump name in the various Options text entry fields--"=ve" for instance.

    This doesn't happen in the graphical client.

    It also doesn't happen in the ASCII clients on angband.live. ... So maybe it's just my builds somehow? Oh dear. Well I have no idea what that would be.

    The Delete key does work, so a slightly clunky workaround is to use left arrow and Delete to get the job done.

    Does anyone else encounter a non-functional Backspace in the game like this? = o
    Last edited by smbhax; January 17, 2022, 10:11.
    My Angband videos
  • smbhax
    Swordsman
    • Oct 2021
    • 340

    #2
    There are a lot of complicated-sounding answers about backspace in Cygwin, but here's what fixed it in ASCII Angband for me:

    https://superuser.com/questions/3547...work-in-cygwin (midway down the page--heck I'll just hotlink their screenshot in here if I can):



    Namely:
    1) Click the green/black icon in the upper left of the Cygwin terminal window
    2) Select "Options..."
    3) Select "Keys"
    4) Check the box for "Backarrow sends ^H"

    That got my backspace key working in ASCII Angband in Cygwin! : )

    Have not found a similar fix for Windows' cmd.exe.
    Last edited by smbhax; January 17, 2022, 19:42.
    My Angband videos

    Comment

    • smbhax
      Swordsman
      • Oct 2021
      • 340

      #3
      Of course, in the roguelike character set, ^H is "Alter [tunnel] west," which will conflict with the terminal setting above, because once you make that setting change, ^H acts only like Backspace.

      So I had to macro Backspace to do +4, the input for "Alter [tunnel] west." =P

      It seems to work okay.
      My Angband videos

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎