diff options
author | nicm <nicm> | 2021-03-12 08:39:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-03-12 08:39:17 +0000 |
commit | e8224fb0d123ca9042b0703a35e1a33f0787d327 (patch) | |
tree | 2b51e29110d03fad9e2662819eda3be1909a32f6 /screen.c | |
parent | ee0df1b8f8a9099fbd67a73c9fb20b89c64d6106 (diff) | |
download | rtmux-e8224fb0d123ca9042b0703a35e1a33f0787d327.tar.gz rtmux-e8224fb0d123ca9042b0703a35e1a33f0787d327.tar.bz2 rtmux-e8224fb0d123ca9042b0703a35e1a33f0787d327.zip |
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.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. */ |