diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 15:16:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-06-23 15:16:52 +0000 |
| commit | fbf0db621cb29804e67af850c1646c3185464dcb (patch) | |
| tree | 22206e5e80e7ef7a04ca19ec827bc5cbaa61e2e7 /vt.c | |
| parent | resize: bug: we're not in alt screen mode at startup (diff) | |
vt: implement reverse scrolling (terminfo 'ri')
This currently duplicates the code paths for DAMAGE_SCROLL; there are
many similarities between the two, but also major differences...
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -567,6 +567,11 @@ esc_dispatch(struct terminal *term, uint8_t final) #endif switch (final) { + case 'M': + /* ri - reverse index (scroll reverse) */ + grid_scroll_reverse(&term->grid, 1); + break; + case '=': /* Other half of xterm's smkx */ LOG_WARN("ignoring ESC with final %c", final); |
