8000 Properly reset the terminal each init. · losingrose/circuitpython@2004be9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2004be9

Browse files
committed
Properly reset the terminal each init.
Fixes adafruit#1944
1 parent d3adfde commit 2004be9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

supervisor/shared/display.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
7171
if (tiles == NULL) {
7272
return;
7373
}
74+
grid->y = 0;
75+
grid->top_left_y = 0;
7476
if (remaining_pixels > 0) {
7577
grid->y -= (grid->tile_height - remaining_pixels);
7678
}

0 commit comments

Comments
 (0)
0