Skip to content

Commit 99d4ea0

Browse files
authored
Merge pull request #10333 from tannewt/fix_terminal_rotate
Fix terminal on rotation
2 parents 5ba4f77 + fc540b7 commit 99d4ea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/display.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
141141

142142
displayio_tilegrid_t *scroll_area = &supervisor_terminal_scroll_area_text_grid;
143143
displayio_tilegrid_t *status_bar = &supervisor_terminal_status_bar_text_grid;
144-
bool reset_tiles = false;
144+
bool reset_tiles = tilegrid_tiles == NULL;
145145

146146
uint16_t glyph_width = 0;
147147
uint16_t glyph_height = 0;

0 commit comments

Comments
 (0)