Global: don't clear line in --logo-position right

This commit is contained in:
Carter Li
2026-06-05 15:27:15 +08:00
parent 53c2d07161
commit e79aaf5ce1
+2 -1
View File
@@ -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;