From 14982159e43908146ae7d17eef7e231bc6ebb6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 12 Jan 2020 12:47:41 +0100 Subject: [PATCH] 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. --- dcs.c | 6 ++++-- 1 file 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