diff --git a/termtcp.c b/termtcp.c index b9c0800..a6d17a4 100644 --- a/termtcp.c +++ b/termtcp.c @@ -954,10 +954,11 @@ static void scrl_draw_window(WINDOW *win, ScrlLine *buf, int count, int head, void append_mon(const char *text, int len, int attr) { if (!mon_visible || len <= 0) return; + if (suppress_draw) return; /* background session — discard RF monitor backlog */ const char *p = text; const char *end = text + len; - int live = (mon_win != NULL && !suppress_draw); + int live = (mon_win != NULL); S->mon_part_cur = attr; if (S->mon_part_len == 0) S->mon_part_base = attr;