Merge pull request #1974 from tannewt/fix_missing_lines

Properly reset the terminal each init.
This commit is contained in:
Scott Shawcroft 2019-06-27 13:54:57 -07:00 committed by GitHub
commit 72ea216dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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