File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
118
118
}
119
119
} else if (c == 0x1b ) {
120
120
// Handle commands of the form [ESC].<digits><command-char> where . is not yet known.
121
- int16_t vt_args [3 ] = {0 , -1 , -1 };
121
+ int16_t vt_args [3 ] = {0 , 0 , 0 };
122
122
uint8_t j = 1 ;
123
123
#if CIRCUITPY_TERMINALIO_VT100
124
124
uint8_t n_args = 1 ;
@@ -192,9 +192,6 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
192
192
if (vt_args [0 ] > 0 ) {
193
193
vt_args [0 ]-- ;
194
194
}
195
- if (vt_args [1 ] == -1 ) {
196
- vt_args [1 ] = 0 ;
197
- }
198
195
if (vt_args [1 ] > 0 ) {
199
196
vt_args [1 ]-- ;
200
197
}
@@ -270,6 +267,7 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
270
267
start_y = self -> cursor_y ;
271
268
i ++ ;
272
269
} else if (i [0 ] == 'D' ) {
270
+ /*
273
271
if (self->cursor_y != scrnmod(self->vt_scroll_end)) {
274
272
self->cursor_y = (self->cursor_y + 1) % self->scroll_area->height_in_tiles;
275
273
} else {
@@ -294,6 +292,8 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
294
292
self->cursor_x = 0;
295
293
}
296
294
start_y = self->cursor_y;
295
+ */
296
+ self -> cursor_y ++ ;
297
297
i ++ ;
298
298
#endif
299
299
} else if (i [0 ] == ']' && c == ';' ) {
You can’t perform that action at this time.
0 commit comments