In order to clear the console/terminal back to black again when hiding
the splash, we must restore the original terminal palette, so that
black actually is black before calling ply_text_display_clear_screen ().
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1933378
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
terminal = ply_text_display_get_terminal (view->display);
+ ply_terminal_reset_colors (terminal);
ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_DEFAULT);
ply_text_display_clear_screen (view->display);
ply_text_display_show_cursor (view->display);
-
- ply_terminal_reset_colors (terminal);
}
}
terminal = ply_text_display_get_terminal (view->display);
+ ply_terminal_reset_colors (terminal);
ply_text_display_set_background_color (view->display, PLY_TERMINAL_COLOR_DEFAULT);
ply_text_display_clear_screen (view->display);
ply_text_display_show_cursor (view->display);
-
- ply_terminal_reset_colors (terminal);
}
}