From c88e5f2f8bb482f317fab094dc18ed30bf611578 Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 28 Sep 2022 14:31:11 -0700 Subject: [PATCH] fixes entry for pull request #881 - curses exit Pull request from chasonr: if the curses interface did a full screen update while the game was ending, it could attempt to refresh windows that had already been removed. For #if PDCURSES, raw_print() could attempt to write to the message window after it had been removed. [Why is raw_print() using the message window at all? Isn't the main point of it to bypass that?] Fixes #881 --- doc/fixes3-7-0.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index bc8b29281..c50e13369 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1420,6 +1420,10 @@ curses: clipped map crashed due to uninitialized memory curses: changes for tty's TTY_PERM_INVENT resulted in viewing inventory under curses while carrying only gold to crash; didn't matter if perm_invent was On or if TTY_PERM_INVENT was enabled +curses: for screen refresh, don't attempt to refresh windows that haven't been + set up yet or have already been shut down +curses: for raw_print() in #if PDCURSES config, don't attempt to write to + message window if it isn't set up yet or has already been shut down Qt: at Xp levels above 20 with 'showexp' On, the combined status field "Level:NN/nnnnnnnn" was too big and truncated by a char at each end Qt: searching a text window for something that wasn't found and then searching