Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions shared-module/terminalio/Terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ size_t common_hal_terminalio_terminal_write(terminalio_terminal_obj_t *self, con
if (c < 0x20) {
if (c == '\r') {
self->cursor_x = 0;
} else if (c == '\t') {
for (uint8_t space_i = 0; space_i < 4; space_i++) {
terminalio_terminal_set_tile(self, false, ' ', true);
}
} else if (c == '\n') {
self->cursor_y++;
// Commands below are used by MicroPython in the REPL
Expand Down
Loading