8000 vt_args can be negative · FoamyGuy/circuitpython@9811764 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9811764

Browse files
committed
vt_args can be negative
1 parent 8c5c624 commit 9811764

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
@@ -118,7 +118,7 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
118118
}
119119
} else if (c == 0x1b) {
120120
// Handle commands of the form [ESC].<digits><command-char> where . is not yet known.
121-
uint16_t vt_args[3] = {0, -1, -1};
121+
int16_t vt_args[3] = {0, -1, -1};
122122
uint8_t j = 1;
123123
#if CIRCUITPY_TERMINALIO_VT100
124124
uint8_t n_args = 1;

0 commit comments

Comments
 (0)
0