--- screen-5.0.0.old/ansi.c +++ screen-5.0.0/ansi.c @@ -2285,6 +2285,7 @@ Canvas *cv; if (displays == NULL) win->w_bell = BELL_DONE; + return; for (display = displays; display; display = display->d_next) { for (cv = D_cvlist; cv; cv = cv->c_next) if (cv->c_layer->l_bottom == &win->w_layer) --- screen-5.0.0.old/rej1 +++ screen-5.0.0/rej1 @@ -0,0 +1,11 @@ +--- ansi.c ++++ ansi.c +@@ -2980,6 +2980,8 @@ + struct canvas *cv; + if (displays == NULL) + p->w_bell = BELL_DONE; ++ ++ return; + for (display = displays; display; display = display->d_next) + { + for (cv = D_cvlist; cv; cv = cv->c_next)