From 66011fe48b558b69628db1896ce6c100fd798ee2 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 29 Jan 2026 09:08:19 +0000 Subject: [PATCH] Do not treat cells as empty unless the background colour stays the same. Fixes invisible clock in clock mode, reported by tb@. --- tty-draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tty-draw.c b/tty-draw.c index eac92a8f..c506853d 100644 --- a/tty-draw.c +++ b/tty-draw.c @@ -240,6 +240,8 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int px, u_int py, u_int nx, /* Work out the the empty width. */ if (i >= ex) empty = 1; + else if (gcp->bg != last.bg) + empty = 0; else empty = tty_draw_line_get_empty(gcp, nx - i);