mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 10:45:23 +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 {
|
} else {
|
||||||
value = thisDigit;
|
value = thisDigit;
|
||||||
}
|
}
|
||||||
|
if (value > 9999)
|
||||||
|
value = 9999;
|
||||||
mArgs[mArgIndex] = value;
|
mArgs[mArgIndex] = value;
|
||||||
}
|
}
|
||||||
continueSequence(mEscapeState);
|
continueSequence(mEscapeState);
|
||||||
|
Reference in New Issue
Block a user