]> granicus.if.org Git - nethack/commit
tty_getlin cleanup (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 11 Dec 2011 01:54:56 +0000 (01:54 +0000)
committernethack.rankin <nethack.rankin>
Sun, 11 Dec 2011 01:54:56 +0000 (01:54 +0000)
commit77593aa294c61c1a00d8cec05b85f9b0cf5d4f66
tree844a2cbd47388a2281ce7c70f9d095c4a1a6ffe9
parenteaf3819bc26e6d800cc9ac7882443424735e26bd
tty_getlin cleanup (trunk only)

     The presence of conditional code for both UNICODE_WIDEWINPORT and
NEWAUTOCOMP in hooked_tty_getlin() was making it be pretty hard to read.
This simplifies the UNICODE_WIDEWINPORT parts similar to what was done in
topl.c a year or two back.  The NEWAUTOCOMP parts are still cluttered.

     This compiles successfully with UNICODE_WIDEWINPORT enabled but that
configuration is otherwise untested.
win/tty/getline.c