aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-30 18:31:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-30 18:36:16 +0000
commit7ce767ab87ca915b2ac4023cc95dbda81fe87abd (patch)
tree517f2e52ff5d626429b0f478b927bfb27028348e /csi.c
parentMerge branch 'bsu-esu-logging' (diff)
config: add ‘beam-thickness’ option
* Rename cursor.style value ‘bar’ to ‘beam’. ‘bar’ remains recognized, but should eventually be deprecated and then removed. * Add ‘cursor.beam-thickness’ option, a pt-or-px value specifying the thickness of the beam cursor. Defaults to 1.5pt. * Rename (and export) pt_or_px_as_pixels() to term_pt_or_px_as_pixels() * Change term_pt_or_px_as_pixels() to round point values instead of truncating them.
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index c5f5ccc0..585ca9d5 100644
--- a/csi.c
+++ b/csi.c
@@ -1591,7 +1591,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 5: /* blinking bar */
case 6: /* steady bar */
- term->cursor_style = CURSOR_BAR;
+ term->cursor_style = CURSOR_BEAM;
break;
default: