csi: CSI ?4h enables smooth scrolling, ?4l enables jump scrolling

This commit is contained in:
Daniel Eklöf 2019-11-05 14:37:17 +01:00
parent 54f750c494
commit f6d87e235b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

9
csi.c
View file

@ -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: