mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
dcs: decrqss: BUG on invalid cursor style
This commit is contained in:
parent
add530e66d
commit
a8681ea440
1 changed files with 1 additions and 0 deletions
1
dcs.c
1
dcs.c
|
|
@ -352,6 +352,7 @@ decrqss(struct terminal *term)
|
||||||
case CURSOR_BLOCK: mode = 2; break;
|
case CURSOR_BLOCK: mode = 2; break;
|
||||||
case CURSOR_UNDERLINE: mode = 4; break;
|
case CURSOR_UNDERLINE: mode = 4; break;
|
||||||
case CURSOR_BEAM: mode = 6; break;
|
case CURSOR_BEAM: mode = 6; break;
|
||||||
|
default: BUG("invalid cursor style"); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (term->cursor_blink.deccsusr)
|
if (term->cursor_blink.deccsusr)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue