From a0d1b8c79c2166a4826c413032daddf1e0b6184a Mon Sep 17 00:00:00 2001 From: Anton <anton@strogonoff.name> Date: Sat, 7 Dec 2024 00:54:08 +0800 Subject: [PATCH] fix(CLI): force progress state to be single line only --- packages/anafero-cli/CLI.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/anafero-cli/CLI.tsx b/packages/anafero-cli/CLI.tsx index ed95228..36bd6b8 100644 --- a/packages/anafero-cli/CLI.tsx +++ b/packages/anafero-cli/CLI.tsx @@ -106,7 +106,7 @@ function ({ task, progress, error, subtasks }) { return ( <Box flexDirection="column"> {progress - ? <Box> + ? <Box height={1}> <Spinner label={`${task}: ${progress.state ?? 'working…'}`} /> {progress.total !== undefined && progress.done !== undefined ? <ProgressBar value={100 / progress.total * progress.done} />