diff options
author | June McEnroe <june@causal.agency> | 2019-08-07 14:09:05 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-07 14:09:05 -0400 |
commit | e240e10086730188e0a724ef852f4c5a8ccf7c93 (patch) | |
tree | f1cf193934df5c34e4c254656c385fabb5a22379 | |
parent | Implement SU and SD (diff) | |
download | stream-e240e10086730188e0a724ef852f4c5a8ccf7c93.tar.gz stream-e240e10086730188e0a724ef852f4c5a8ccf7c93.zip |
Implement IND
-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 |