Some colour fixes and tweaks (marked pane, cursor colours now work).

This commit is contained in:
nicm
2026-06-26 11:36:22 +00:00
parent 19db019e0c
commit 73fd01c986
7 changed files with 38 additions and 11 deletions

4
tty.c
View File

@@ -748,8 +748,10 @@ tty_force_cursor_colour(struct tty *tty, int c)
u_char r, g, b;
char s[13];
if (c != -1)
if (c != -1) {
c = tty_map_theme_colour(tty, c);
c = colour_force_rgb(c);
}
if (c == tty->ccolour)
return;
if (c == -1)