aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index b982023c..81c71e31 100644
--- a/csi.c
+++ b/csi.c
@@ -1756,7 +1756,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 1: /* blinking block */
case 2: /* steady block */
- term->cursor_style = CURSOR_BLOCK;
+ term->cursor_style = term->conf->cursor.style == CURSOR_HOLLOW
+ ? CURSOR_HOLLOW : CURSOR_BLOCK;
break;
case 3: /* blinking underline */