WIN_MAP==WIN_ERR on a code path to tty_wait_synch

This commit is contained in:
nhmall
2025-04-13 12:14:38 -04:00
parent a185c270bb
commit a70db6dafb

View File

@@ -3602,7 +3602,7 @@ tty_wait_synch(void)
{
HUPSKIP();
/* we just need to make sure all windows are synch'd */
if (!ttyDisplay || ttyDisplay->rawprint) {
if (!ttyDisplay || ttyDisplay->rawprint || WIN_MAP == WIN_ERR) {
getret();
if (ttyDisplay)
ttyDisplay->rawprint = 0;