From 60e7a7945d55bf60476cbdb2ed079896d4aaa05c Mon Sep 17 00:00:00 2001 From: MeexReay Date: Fri, 21 Mar 2025 20:04:08 +0300 Subject: [PATCH] screen_length --- app/kfc/kfc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/kfc/kfc.js b/app/kfc/kfc.js index 7f347a3..ccb6ea8 100644 --- a/app/kfc/kfc.js +++ b/app/kfc/kfc.js @@ -17,7 +17,7 @@ async function cropToScreen(text, x, y, width, height) { return screen.join("\n") } -async function printScreen(start_cursor, pos, content, mode, pos, x, y, width, height) { +async function printScreen(screen_length, start_cursor, pos, content, mode, pos, x, y, width, height) { trimTerminal(getTerminal().length - screen_length) let screen = await cropToScreen(content, 0, 0, width, height - 1) await writeStdout(screen)