diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-03 14:21:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-03 14:21:09 +0000 |
| commit | bf7815015720077cf2e2c93276c43adae1391100 (patch) | |
| tree | 4dbdabf0f2406498e7f6795d5ba27759369833ee | |
| parent | vt: fix logging of ESC intermediates and parameters (diff) | |
vt: always log unimplemented as warnings, not errors
| -rw-r--r-- | vt.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 <id> B: invalid charset identifier: %c", param); + LOG_ERR("<ESC>%cB: invalid charset identifier", param); return false; } break; |
