summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2019-06-27 13:54:57 -0700
committerGitHub <noreply@github.com>2019-06-27 13:54:57 -0700
commit72ea216dceff146ff654e6652e5535064dfe69ee (patch)
tree9e54382b2343276db58cff7e535b6b791accb8cc
parentd3adfde22a01b516bd01763441ea2a279d05c1e4 (diff)
parent2004be96acf1a29fd312362f84dbf86461f0500f (diff)
Merge pull request #1974 from tannewt/fix_missing_lines
Properly reset the terminal each init.
-rw-r--r--supervisor/shared/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c
index c3afb3e00..414f85034 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);
}