]> granicus.if.org Git - nethack/commit
win32tty hung NetHack fix
authornethack.allison <nethack.allison>
Sat, 1 Nov 2003 23:56:24 +0000 (23:56 +0000)
committernethack.allison <nethack.allison>
Sat, 1 Nov 2003 23:56:24 +0000 (23:56 +0000)
commit5c9c0732cbc4fce612bb9d1d5a310217bf2d569b
tree0e176c140b6462c3fb1603f12dc4219e46bd7cfe
parent67dea0ebe1ac4f72649a649e98793f3da3e555b8
win32tty hung NetHack fix

If a Key-down event didn't meet the expected criteria,
the event was ignored in the "peek" loop, but it was
never removed from the input queue either, so it
remained at the top of the queue.

It isn't clear if this fixes the dedicated arrow keys
hanging, but if those were resulting in strange
event values too, it just might.
sys/winnt/nh340key.c
sys/winnt/nhdefkey.c
sys/winnt/nhraykey.c