mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Separate "very visible" flag from blinking flag, it should not affect
DECSCUSR. GitHub issue 2891.
This commit is contained in:
8
input.c
8
input.c
@ -1646,7 +1646,7 @@ input_csi_dispatch_rm(struct input_ctx *ictx)
|
||||
screen_write_mode_clear(sctx, MODE_INSERT);
|
||||
break;
|
||||
case 34:
|
||||
screen_write_mode_set(sctx, MODE_BLINKING);
|
||||
screen_write_mode_set(sctx, MODE_CURSOR_VERY_VISIBLE);
|
||||
break;
|
||||
default:
|
||||
log_debug("%s: unknown '%c'", __func__, ictx->ch);
|
||||
@ -1682,7 +1682,7 @@ input_csi_dispatch_rm_private(struct input_ctx *ictx)
|
||||
screen_write_mode_clear(sctx, MODE_WRAP);
|
||||
break;
|
||||
case 12:
|
||||
screen_write_mode_clear(sctx, MODE_BLINKING);
|
||||
screen_write_mode_clear(sctx, MODE_CURSOR_BLINKING);
|
||||
break;
|
||||
case 25: /* TCEM */
|
||||
screen_write_mode_clear(sctx, MODE_CURSOR);
|
||||
@ -1734,7 +1734,7 @@ input_csi_dispatch_sm(struct input_ctx *ictx)
|
||||
screen_write_mode_set(sctx, MODE_INSERT);
|
||||
break;
|
||||
case 34:
|
||||
screen_write_mode_clear(sctx, MODE_BLINKING);
|
||||
screen_write_mode_clear(sctx, MODE_CURSOR_VERY_VISIBLE);
|
||||
break;
|
||||
default:
|
||||
log_debug("%s: unknown '%c'", __func__, ictx->ch);
|
||||
@ -1771,7 +1771,7 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
|
||||
screen_write_mode_set(sctx, MODE_WRAP);
|
||||
break;
|
||||
case 12:
|
||||
screen_write_mode_set(sctx, MODE_BLINKING);
|
||||
screen_write_mode_set(sctx, MODE_CURSOR_BLINKING);
|
||||
break;
|
||||
case 25: /* TCEM */
|
||||
screen_write_mode_set(sctx, MODE_CURSOR);
|
||||
|
Reference in New Issue
Block a user