From 342d6036f9fb2a2a2605a0c1d97ea4ae3e796b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 5 Nov 2019 11:10:56 +0100 Subject: [PATCH] csi: CSI ?3h enables 132 column mode, CSI ?3l 80 column mode --- csi.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/csi.c b/csi.c index 7c4a0f9d..01adf073 100644 --- a/csi.c +++ b/csi.c @@ -722,6 +722,11 @@ csi_dispatch(struct terminal *term, uint8_t final) term->cursor_keys_mode = CURSOR_KEYS_APPLICATION; break; + case 3: + LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)", + csi_as_string(term, final)); + break; + case 5: term->reverse = true; term_damage_all(term); @@ -825,8 +830,7 @@ csi_dispatch(struct terminal *term, uint8_t final) break; case 3: - LOG_WARN("unimplemented: 132 column mode (DECCOLM, %s)", - csi_as_string(term, final)); + /* DECCOLM - 80 column mode */ break; case 4: