@enke.dev/logbox 0.0.3 → 0.0.5

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/dist/cli.mjs +6 -6
  2. package/package.json +5 -5
package/dist/cli.mjs CHANGED
@@ -5,9 +5,9 @@ import process3, { argv, stderr as stderr2, stdout as stdout2 } from "node:proce
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@enke.dev/logbox",
8
- version: "0.0.3",
8
+ version: "0.0.5",
9
9
  license: "MIT",
10
- packageManager: "bun@1.3.14",
10
+ packageManager: "bun@1.4.0",
11
11
  publishConfig: {
12
12
  registry: "https://registry.npmjs.org",
13
13
  access: "public"
@@ -55,11 +55,11 @@ var package_default = {
55
55
  build: "bun build ./src/cli.ts --target=node --outfile dist/cli.mjs"
56
56
  },
57
57
  devDependencies: {
58
- "@enke.dev/lint": "0.13.8",
58
+ "@enke.dev/lint": "0.13.10",
59
59
  "@tsconfig/strictest": "2.0.8",
60
- "@types/bun": "1.3.14",
60
+ "@types/bun": "1.4.0",
61
61
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
62
- eslint: "10.8.1",
62
+ eslint: "10.9.1",
63
63
  jiti: "2.7.0",
64
64
  "npm-run-all2": "9.0.3",
65
65
  prettier: "3.9.6",
@@ -343,7 +343,7 @@ function runWithBox(command, config) {
343
343
  const lines = renderBox({ title, rows, columns: size().columns });
344
344
  const top = Math.max(1, size().rows - lines.length + 1);
345
345
  const box = lines.map((line, index) => `${cursorTo(top + index)}${CLEAR_LINE}${line}`).join("");
346
- stdout.write(`${SAVE_CURSOR}${box}${RESTORE_CURSOR}`);
346
+ stdout.write(`${SAVE_CURSOR}${setScrollRegion(1, scrollBottom())}${box}${RESTORE_CURSOR}`);
347
347
  };
348
348
  let scheduled;
349
349
  const scheduleBox = () => {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@enke.dev/logbox",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
- "packageManager": "bun@1.3.14",
5
+ "packageManager": "bun@1.4.0",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org",
8
8
  "access": "public"
@@ -50,11 +50,11 @@
50
50
  "build": "bun build ./src/cli.ts --target=node --outfile dist/cli.mjs"
51
51
  },
52
52
  "devDependencies": {
53
- "@enke.dev/lint": "0.13.8",
53
+ "@enke.dev/lint": "0.13.10",
54
54
  "@tsconfig/strictest": "2.0.8",
55
- "@types/bun": "1.3.14",
55
+ "@types/bun": "1.4.0",
56
56
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
57
- "eslint": "10.8.1",
57
+ "eslint": "10.9.1",
58
58
  "jiti": "2.7.0",
59
59
  "npm-run-all2": "9.0.3",
60
60
  "prettier": "3.9.6",