Refactor CLI input handling in cli-ink.js to improve ESC key detection for clean exit. Update InkApp import to .jsx extension and change start:ink script to use tsx for better compatibility. Remove deprecated InkApp.js file to streamline codebase.

This commit is contained in:
sebseb7
2025-08-12 02:56:13 +02:00
parent edf0d3cffb
commit ce6933377a
4 changed files with 117 additions and 91 deletions

View File

@@ -53,7 +53,7 @@
},
"scripts": {
"start": "node cli.js",
"start:ink": "node cli-ink.js",
"start:ink": "tsx cli-ink.js",
"test": "node tests/run-all.js",
"test:patch": "node tests/run-tests.js",
"test:readfile": "node tests/run-readfile-tests.js",