From f6d87e235b48d3cd86b505be7683115383d28f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 5 Nov 2019 14:37:17 +0100 Subject: [PATCH] csi: CSI ?4h enables smooth scrolling, ?4l enables jump scrolling --- csi.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/csi.c b/csi.c index 8f407f0f..13a31069 100644 --- a/csi.c +++ b/csi.c @@ -739,6 +739,12 @@ csi_dispatch(struct terminal *term, uint8_t final) term_cursor_home(term); break; + case 4: + /* DECSCLM - Smooth scroll */ + LOG_WARN("unimplemented: Smooth (Slow) Scroll (DECSCLM, %s)", + csi_as_string(term, final)); + break; + case 5: term->reverse = true; term_damage_all(term); @@ -857,8 +863,7 @@ csi_dispatch(struct terminal *term, uint8_t final) break; case 4: - LOG_WARN("unimplemented: Smooth (Slow) Scroll (DECSCLM, %s)", - csi_as_string(term, final)); + /* DECSCLM - Jump scroll */ break; case 5: