Global: resets keysHeight after every refresh

This commit is contained in:
Carter Li
2026-06-05 15:27:25 +08:00
parent e79aaf5ce1
commit 20aabdfd78
+1
View File
@@ -770,6 +770,7 @@ static void run(FFdata* data) {
fflush(stdout);
ffTimeSleep(instance.state.dynamicInterval);
fputs("\e[H", stdout); // Move cursor to the top left corner to overwrite the previous output
instance.state.keysHeight = 0; // Reset keysHeight so `ffLogoPrintRemaining` will recalculate it
} else {
break;
}