mirror of
https://github.com/tmux/tmux.git
synced 2025-03-31 03:58:48 +00:00
Should save the bg colour when setting it to default, not the fg.
This commit is contained in:
parent
34c0807be6
commit
cd39920abd
2
tty.c
2
tty.c
@ -2240,7 +2240,7 @@ tty_colours(struct tty *tty, const struct grid_cell *gc)
|
|||||||
tty_puts(tty, "\033[49m");
|
tty_puts(tty, "\033[49m");
|
||||||
else if (tc->bg != 0)
|
else if (tc->bg != 0)
|
||||||
tty_putcode1(tty, TTYC_SETAB, 0);
|
tty_putcode1(tty, TTYC_SETAB, 0);
|
||||||
tc->bg = gc->fg;
|
tc->bg = gc->bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user