diff options
author | June McEnroe <june@causal.agency> | 2019-08-16 21:51:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-16 21:51:58 -0400 |
commit | 3bb9099376e80cf18deba5ee35c93621113fa66d (patch) | |
tree | ac2244da6f08875a688dfa945625a710eb96faf8 | |
parent | Fix scrollUp OOB if scroll.bot is 0 (diff) | |
download | stream-3bb9099376e80cf18deba5ee35c93621113fa66d.tar.gz stream-3bb9099376e80cf18deba5ee35c93621113fa66d.zip |
Fix CSI param counting
Diffstat (limited to '')
-rw-r--r-- | term.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/term.c b/term.c index 52cc859..342bc66 100644 --- a/term.c +++ b/term.c @@ -94,6 +94,7 @@ ACTION(csi) { } ACTION(csiSep) { if (t->param.n == ParamCap) return; + if (!t->param.n) t->param.n++; t->param.n++; t->param.i++; } |