Skip to content

Commit 9820c85

Browse files
committed
increase possible length of <digits> portion of sequence
1 parent bfa39b0 commit 9820c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/terminalio/Terminal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
128128
if (i[0] == '[') {
129129
for (uint8_t i_args = 1; i_args < 3 && c == ';'; i_args++) {
130130
vt_args[i_args] = 0;
131-
for (++j; j < 9; j++) {
131+
for (++j; j < 12; j++) {
132132
if ('0' <= i[j] && i[j] <= '9') {
133133
vt_args[i_args] = vt_args[i_args] * 10 + (i[j] - '0');
134134
n_args = i_args + 1;

0 commit comments

Comments
 (0)