create-flow-os 0.0.47-dev.1772043916 → 0.0.47-dev.1772043978

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/init/ui.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-flow-os",
3
- "version": "0.0.47-dev.1772043916",
3
+ "version": "0.0.47-dev.1772043978",
4
4
  "license": "PolyForm-Shield-1.0.0",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/init/ui.ts CHANGED
@@ -29,7 +29,7 @@ export function bannerBox(title: string, lines: string[], color: string, w = 50)
29
29
  const innerW = w - 4;
30
30
  const half = Math.max(0, Math.floor((innerW - innerLen) / 2));
31
31
  const rest = innerW - half - innerLen;
32
- const top = c + "╭" + "─".repeat(half) + inner + "─".repeat(rest) + "╮" + R;
32
+ const top = c + "╭" + "─".repeat(half) + inner + c + "─".repeat(rest) + "╮" + R;
33
33
  const bottom = c + "╰" + "─".repeat(innerW) + "╯" + R;
34
34
  const emptyLine = c + "│" + R + " " + " ".repeat(innerW - 2) + c + "│" + R;
35
35
  const bodyLines = lines.map((l) => c + "│" + R + " " + pad(l, innerW - 2) + c + "│" + R);