Also interpret an intermediate CSI byte if present

This commit is contained in:
Paul LeoNerd Evans
2012-11-30 14:43:00 +00:00
parent 26912d989b
commit d5c3d9c8fe
3 changed files with 18 additions and 3 deletions

View File

@@ -255,6 +255,10 @@ static TermKeyResult parse_csi(TermKey *tk, size_t introlen, size_t *csi_len, lo
if(argi > 16)
break;
}
else if(c >= 0x20 && c <= 0x2f) {
*commandp |= c << 16;
break;
}
p++;
}