优化第一阶段

This commit is contained in:
yinsx
2025-12-22 12:07:12 +08:00
parent dd99e932b4
commit 1df41ac4ab
38 changed files with 340 additions and 300 deletions

View File

@ -1,9 +1,6 @@
import color from "picocolors";
import { initKeypress, onKey, stopKeypress } from "../keyboard.js";
function clearScreen() {
process.stdout.write('\x1Bc');
}
import { clearScreen } from "./terminal.js";
export function createStepUI(options) {
const { title, getSteps, onStepChange } = options;