fix(setup): clear screen before TUI to prevent page jumping
This commit is contained in:
1 parent
b308d5594a
commit
6486a42def
1 file changed
+2
-1
+2
-1
@@ -111,8 +111,9 @@ export async function runSetup(opts: { cliVersion?: string; token?: string } = {
|
||||
}
|
||||
|
||||
// Step 4: Show interactive checkbox
|
||||
console.clear();
|
||||
const selected = await checkboxPrompt(items, {
|
||||
title: ` Select files to update with token ${chalk.cyan(fingerprint)}:`,
|
||||
title: ` ${chalk.bold('opencli setup')} — token ${chalk.cyan(fingerprint)}`,
|
||||
});
|
||||
|
||||
if (selected.length === 0) {
|
||||
|
||||
Reference in new issue
Block a user