aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-29 22:59:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-29 22:59:24 +0000
commit616896e2a52e0223d83f2625f96c67093b88e463 (patch)
tree98bcc868d1c0b084dd8047f21f5d603c02057278 /csi.c
parentvt: there are actually many state transitions that are no-ops (diff)
csi/ocs/vt: log unhandled/unrecognized sequences as debug messages
Having them as error messages was nice when we where still missing lots of sequences. Now we don't anymore, and these just spam stdout as well as syslog when e.g. cat:ing binary data.
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/csi.c b/csi.c
index a07267b1..07e0f543 100644
--- a/csi.c
+++ b/csi.c
@@ -18,8 +18,8 @@
#define min(x, y) ((x) < (y) ? (x) : (y))
-#define UNHANDLED() LOG_ERR("unhandled: %s", csi_as_string(term, final))
-#define UNHANDLED_SGR() LOG_ERR("unhandled: %s", csi_as_string(term, 'm'))
+#define UNHANDLED() LOG_DBG("unhandled: %s", csi_as_string(term, final))
+#define UNHANDLED_SGR() LOG_DBG("unhandled: %s", csi_as_string(term, 'm'))
static void
sgr_reset(struct terminal *term)