1
0
mirror of https://github.com/termux/termux-app synced 2024-06-14 13:26:39 +00:00

Fixed: Ensure CSI parameter value is not greater than 9999 as per vt510

This commit is contained in:
agnostic-apollo 2022-06-15 04:05:34 +05:00
parent 4c47f4f732
commit e92a6db06b

View File

@ -2136,6 +2136,8 @@ public final class TerminalEmulator {
} else {
value = thisDigit;
}
if (value > 9999)
value = 9999;
mArgs[mArgIndex] = value;
}
continueSequence(mEscapeState);