]> granicus.if.org Git - nethack/commit
tty_askname() fix [#if UNIX || VMS]
authornethack.rankin <nethack.rankin>
Tue, 12 Dec 2006 05:15:07 +0000 (05:15 +0000)
committernethack.rankin <nethack.rankin>
Tue, 12 Dec 2006 05:15:07 +0000 (05:15 +0000)
commitf16db6f5f63cf9ae8f26aed265b73783d7d6550a
tree91cceef6a1c90a5df55e2e2a45ddb7910061b596
parent0db19f1c9605525b12736f31afe6a2458570a880
tty_askname() fix [#if UNIX || VMS]

     Typing a response at the "Who are you?" prompt didn't allow digits in
the character's name under Unix and VMS; something like "arc15" came out
as "arc__".  This allows them to be used anywhere except for the first
character.  "arc15" now works; "15arc" ends up as "_5arc" so that there
still won't be a leading digit abutting the uid value when they're joined
to form the save file name.
doc/fixes34.4
win/tty/wintty.c