aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver-csi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/driver-csi.c b/driver-csi.c
index 3db8d20..f4de6a8 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -345,10 +345,8 @@ static TermKeyResult parse_csi(TermKey *tk, size_t introlen, size_t *csi_len, lo
p++;
}
- if(!present)
- args[argi] = -1;
-
- argi++;
+ if(present)
+ argi++;
*nargs = argi;
*csi_len = csi_end + 1;