Support xterm(1) cursor colour change sequences through terminfo(5) Cc

(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.
This commit is contained in:
Nicholas Marriott
2011-05-20 19:03:58 +00:00
parent 96e7f33da3
commit 944b5e6fa0
8 changed files with 101 additions and 15 deletions

View File

@@ -521,7 +521,7 @@ server_client_reset_state(struct client *c)
mode &= ~MODE_MOUSE_UTF8;
/* Set the terminal mode and reset attributes. */
tty_update_mode(&c->tty, mode);
tty_update_mode(&c->tty, mode, s);
tty_reset(&c->tty);
}