diff options
Diffstat (limited to '')
-rw-r--r-- | term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/term.c b/term.c index e77ab67..6e953a2 100644 --- a/term.c +++ b/term.c @@ -128,6 +128,7 @@ static char updateNUL(wchar_t ch) { } enum C1 { + IND = 'D', RI = 'M', CSI = '[', ST = '\\', @@ -145,7 +146,8 @@ static char updateESC(wchar_t ch) { break; case CSI: return CSI; break; case OSC: return OSC; - break; case RI: scrollDown(1); + break; case IND: scrollUp(1); + break; case RI: scrollDown(1); break; case '(': discard = true; return ESC; break; case '=': // ignore |