]> granicus.if.org Git - nethack/commit
Fixed bug with inmore and toplin state management.
authorBart House <bart@barthouse.com>
Fri, 12 Jul 2019 04:04:29 +0000 (21:04 -0700)
committerBart House <bart@barthouse.com>
Fri, 12 Jul 2019 04:17:46 +0000 (21:17 -0700)
commit0f57f0e48ca6e6823fb238566d5faddd3cf0726b
treeca65b8a481e6661f21f70dd257c5a4edc303f6cb
parent3e4a0759a37ec6fe62d026cdd02dadd0ec6f682d
Fixed bug with inmore and toplin state management.

When fuzzing, we would increment ttyDisplay->inmore but then prematurely
exit more() leaving ttyDisplay->inmore set.

Under various conditions, we can request to remember the topline when
the topline had not yet been acknowledged leaving toplin state in an
inappropriate state.
win/tty/topl.c