Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
This commit is contained in:
commit
72ea216dce
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user