From bf7815015720077cf2e2c93276c43adae1391100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 3 Jul 2019 16:21:09 +0200 Subject: [PATCH] vt: always log unimplemented as warnings, not errors --- vt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vt.c b/vt.c index ca461a40..ea9bbcde 100644 --- a/vt.c +++ b/vt.c @@ -568,6 +568,7 @@ esc_dispatch(struct terminal *term, uint8_t final) switch (final) { case 'B': { + /* Configure G0-G3 to use ASCII */ char param = term->vt.params.idx > 0 ? term->vt.params.v[0].value : '('; switch (param) { @@ -578,11 +579,11 @@ esc_dispatch(struct terminal *term, uint8_t final) case ')': case '*': case '+': - LOG_ERR("unimplemented: character charset: %c", param); + LOG_WARN("unimplemented: charset %c uses ASCII", param); return false; default: - LOG_ERR("ESC B: invalid charset identifier: %c", param); + LOG_ERR("%cB: invalid charset identifier", param); return false; } break;