From 3bb9099376e80cf18deba5ee35c93621113fa66d Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 16 Aug 2019 21:51:58 -0400 Subject: Fix CSI param counting --- term.c | 1 + 1 file changed, 1 insertion(+) 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++; } -- cgit 1.4.1