Curses: avoid redrawing message window for each restored message

This commit is contained in:
Pasi Kallinen
2024-03-19 19:19:16 +02:00
parent 55263050df
commit e3ec21c5d3

View File

@@ -1110,7 +1110,7 @@ curses_putmsghistory(const char *msg, boolean restoring_msghist)
* right) brings up an initial display where the border around
* the message window is missing. This draws it.
*/
if (restoring_msghist)
if (restoring_msghist && !msg)
curses_last_messages();
}