aboutsummaryrefslogtreecommitdiff
path: root/dcs.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-12 11:47:41 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-12 11:47:41 +0000
commit14982159e43908146ae7d17eef7e231bc6ebb6d4 (patch)
tree455138bfd38d8d9c12152fd35a0889aaa9126acf /dcs.c
parentMerge branch 'synchronized-updates' (diff)
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.
Diffstat (limited to 'dcs.c')
-rw-r--r--dcs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dcs.c b/dcs.c
index 73a371c0..3f412507 100644
--- a/dcs.c
+++ b/dcs.c
@@ -8,19 +8,21 @@
static void
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);
term_enable_application_synchronized_updates(term);
+ abort();
}
static void
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);
term_disable_application_synchronized_updates(term);
+ abort();
}
void