8000 Merge pull request #1974 from tannewt/fix_missing_lines · adafruit/circuitpython@72ea216 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72ea216

Browse files
authored
Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
2 parents d3adfde + 2004be9 commit 72ea216

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