mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
dcs: remove assert; handler may be zero on unimplemented OCS command
This commit is contained in:
parent
0c11459eef
commit
97afba1b14
1 changed files with 0 additions and 1 deletions
1
dcs.c
1
dcs.c
|
|
@ -85,7 +85,6 @@ dcs_put(struct terminal *term, uint8_t c)
|
||||||
void
|
void
|
||||||
dcs_unhook(struct terminal *term)
|
dcs_unhook(struct terminal *term)
|
||||||
{
|
{
|
||||||
assert(term->vt.dcs.unhook_handler != NULL);
|
|
||||||
if (term->vt.dcs.unhook_handler != NULL)
|
if (term->vt.dcs.unhook_handler != NULL)
|
||||||
term->vt.dcs.unhook_handler(term);
|
term->vt.dcs.unhook_handler(term);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue