From 2004be96acf1a29fd312362f84dbf86461f0500f Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 26 Jun 2019 17:36:30 -0700 Subject: [PATCH] Properly reset the terminal each init. Fixes #1944 --- supervisor/shared/display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c index c3afb3e008..414f850344 100644 --- a/supervisor/shared/display.c +++ b/supervisor/shared/display.c @@ -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); }