mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-14 05:33:59 -04:00
dcs: abort() in bsu/esu
Since I haven't seen this in the wild, let's abort() to make sure we catch when an application does this, so we can verify it really works.
This commit is contained in:
parent
21646f0059
commit
14982159e4
1 changed files with 4 additions and 2 deletions
6
dcs.c
6
dcs.c
|
|
@ -8,19 +8,21 @@
|
||||||
static void
|
static void
|
||||||
bsu(struct terminal *term)
|
bsu(struct terminal *term)
|
||||||
{
|
{
|
||||||
LOG_DBG("BSU - Begin Synchronized Update (params: %.*s)",
|
LOG_WARN("untested: BSU - Begin Synchronized Update (params: %.*s)",
|
||||||
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
||||||
|
|
||||||
term_enable_application_synchronized_updates(term);
|
term_enable_application_synchronized_updates(term);
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
esu(struct terminal *term)
|
esu(struct terminal *term)
|
||||||
{
|
{
|
||||||
LOG_DBG("ESU - Begin Synchronized Update (params: %.*s)",
|
LOG_WARN("untested: ESU - Begin Synchronized Update (params: %.*s)",
|
||||||
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
(int)term->vt.dcs.idx, term->vt.dcs.data);
|
||||||
|
|
||||||
term_disable_application_synchronized_updates(term);
|
term_disable_application_synchronized_updates(term);
|
||||||
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue