wispy-cli 2.4.1 → 2.4.2
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.
- package/lib/wispy-repl.mjs +2 -16
- package/package.json +1 -1
package/lib/wispy-repl.mjs
CHANGED
|
@@ -1239,22 +1239,8 @@ async function runRepl(engine) {
|
|
|
1239
1239
|
completer: makeCompleter(engine),
|
|
1240
1240
|
});
|
|
1241
1241
|
|
|
1242
|
-
//
|
|
1243
|
-
|
|
1244
|
-
if (process.stdin.isTTY) {
|
|
1245
|
-
process.stdin.on('keypress', (_ch, key) => {
|
|
1246
|
-
if (!key) return;
|
|
1247
|
-
// Slight delay to let readline update its line buffer
|
|
1248
|
-
setImmediate(() => {
|
|
1249
|
-
const line = rl.line ?? '';
|
|
1250
|
-
if (line.startsWith('/')) {
|
|
1251
|
-
showCommandHint(line, engine);
|
|
1252
|
-
} else {
|
|
1253
|
-
clearCommandHint();
|
|
1254
|
-
}
|
|
1255
|
-
});
|
|
1256
|
-
});
|
|
1257
|
-
}
|
|
1242
|
+
// Inline hints disabled — caused display corruption with readline.
|
|
1243
|
+
// Tab completion via makeCompleter() handles autocomplete instead.
|
|
1258
1244
|
|
|
1259
1245
|
// Dynamic prompt — shows workstream and dry-run status
|
|
1260
1246
|
function updatePrompt() {
|