mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Fixed: Ensure CSI parameter value is not greater than 9999
as per vt510
This commit is contained in:
@@ -2136,6 +2136,8 @@ public final class TerminalEmulator {
|
||||
} else {
|
||||
value = thisDigit;
|
||||
}
|
||||
if (value > 9999)
|
||||
value = 9999;
|
||||
mArgs[mArgIndex] = value;
|
||||
}
|
||||
continueSequence(mEscapeState);
|
||||
|
Reference in New Issue
Block a user