mirror of
https://github.com/tmux/tmux.git
synced 2026-02-15 02:29:19 +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. */
|
/* Work out the the empty width. */
|
||||||
if (i >= ex)
|
if (i >= ex)
|
||||||
empty = 1;
|
empty = 1;
|
||||||
|
else if (gcp->bg != last.bg)
|
||||||
|
empty = 0;
|
||||||
else
|
else
|
||||||
empty = tty_draw_line_get_empty(gcp, nx - i);
|
empty = tty_draw_line_get_empty(gcp, nx - i);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user