Properly reset the terminal each init.

Fixes #1944
This commit is contained in:
Scott Shawcroft 2019-06-26 17:36:30 -07:00
parent d3adfde22a
commit 2004be96ac
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E

View File

@ -71,6 +71,8 @@ void supervisor_start_terminal(uint16_t width_px, uint16_t height_px) {
if (tiles == NULL) { if (tiles == NULL) {
return; return;
} }
grid->y = 0;
grid->top_left_y = 0;
if (remaining_pixels > 0) { if (remaining_pixels > 0) {
grid->y -= (grid->tile_height - remaining_pixels); grid->y -= (grid->tile_height - remaining_pixels);
} }