From e8224fb0d123ca9042b0703a35e1a33f0787d327 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 12 Mar 2021 08:39:17 +0000 Subject: 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. --- screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 2cdbec62..97ccdeec 100644 --- a/screen.c +++ b/screen.c @@ -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. */ -- cgit