Fix so tmux correctly sends the cvvis (cursor very visible) capability

rather than sending it and then immediately undoing it with cnorm. Also
turn it off when the cursor shape is changed like xterm.
This commit is contained in:
nicm
2021-03-12 08:39:17 +00:00
parent ee0df1b8f8
commit e8224fb0d1
2 changed files with 28 additions and 14 deletions

View File

@ -154,8 +154,10 @@ screen_reset_tabs(struct screen *s)
void
screen_set_cursor_style(struct screen *s, u_int style)
{
if (style <= 6)
if (style <= 6) {
s->cstyle = style;
s->mode &= ~MODE_BLINKING;
}
}
/* Set screen cursor colour. */