From: Hans de Goede Date: Sat, 27 Mar 2021 12:22:45 +0000 (+0100) Subject: ply-text-display: Only skip clearing the screen when tracing to a terminal X-Git-Tag: 22.02.122~15^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ef171f73303c78758b3f3b64133a38cd31decad;p=thirdparty%2Fplymouth.git ply-text-display: Only skip clearing the screen when tracing to a terminal When the user has chosen to enable tracing to a file, so that the terminal output stays the same as when not tracing, ply_text_display_clear_screen () should still clear the screen, as it does when not tracing. Signed-off-by: Hans de Goede --- diff --git a/src/libply-splash-core/ply-text-display.c b/src/libply-splash-core/ply-text-display.c index 7bf6e06d..fc41645a 100644 --- a/src/libply-splash-core/ply-text-display.c +++ b/src/libply-splash-core/ply-text-display.c @@ -150,7 +150,7 @@ ply_text_display_set_cursor_position (ply_text_display_t *display, void ply_text_display_clear_screen (ply_text_display_t *display) { - if (ply_is_tracing ()) + if (ply_is_tracing_to_terminal ()) return; ply_terminal_write (display->terminal,