mirror of
https://github.com/tmux/tmux.git
synced 2026-02-08 12:37:20 +00:00
Do not treat cells as empty unless the background colour stays the same.
Fixes invisible clock in clock mode, reported by tb@.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user