summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2021-10-05 12:46:02 +0000
committernicm <nicm>2021-10-05 12:46:02 +0000
commit9b1fdb291ee8e940311a51cf41f97b07930b4688 (patch)
treec0308d54260eaa85c700bad24fe7a0944259cd28 /input.c
parent3d5a02bf45f03f9dc37b2178ac7964f3f2b3748c (diff)
Separate "very visible" flag from blinking flag, it should not affect
DECSCUSR. GitHub issue 2891.
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input.c b/input.c
index 7a320c56..8a16281c 100644
--- a/input.c
+++ b/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);