From e79aaf5ce17d7511af4ee1d21e802e6233606fe6 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 5 Jun 2026 15:27:15 +0800 Subject: [PATCH] Global: don't clear line in `--logo-position right` --- src/logo/logo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/logo/logo.c b/src/logo/logo.c index 053c24cf1..571f1aac9 100644 --- a/src/logo/logo.c +++ b/src/logo/logo.c @@ -715,8 +715,9 @@ void ffLogoPrintLine(void) { printf("\033[%uC", instance.state.logoWidth); } - if (instance.state.dynamicInterval > 0) { + if (instance.state.dynamicInterval > 0 && logo->position == FF_LOGO_POSITION_LEFT) { fputs("\033[K", stdout); // Clear to the end of the line + // Note that we don't clear the line when the logo is on the right, as it will also clear the logo itself } ++instance.state.keysHeight;