tycono 0.3.13-beta.3 → 0.3.13-beta.4
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/bin/cli.js +1 -1
- package/package.json +1 -1
- package/src/tui/components/CommandMode.tsx +3 -3
package/bin/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ if (!process.env.__TYCONO_HEAP_SET && !process.execArgv.some(a => a.includes('ma
|
|
|
12
12
|
execFileSync(process.execPath, [
|
|
13
13
|
'--max-old-space-size=8192',
|
|
14
14
|
'--expose-gc',
|
|
15
|
-
|
|
15
|
+
'--heapsnapshot-near-heap-limit=1',
|
|
16
16
|
...process.execArgv,
|
|
17
17
|
fileURLToPath(import.meta.url),
|
|
18
18
|
...process.argv.slice(2),
|
package/package.json
CHANGED
|
@@ -369,8 +369,8 @@ export const CommandMode: React.FC<CommandModeProps> = ({
|
|
|
369
369
|
setAcIndex(i => Math.max(0, i - 1));
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
|
-
if (key.
|
|
373
|
-
//
|
|
372
|
+
if (key.rightArrow) {
|
|
373
|
+
// → fill input with selected command (don't execute)
|
|
374
374
|
const selected = acCandidates[acIndex];
|
|
375
375
|
if (selected) {
|
|
376
376
|
const base = selected.cmd.split(' ')[0]; // e.g. "/new" from "/new [text]"
|
|
@@ -494,7 +494,7 @@ export const CommandMode: React.FC<CommandModeProps> = ({
|
|
|
494
494
|
<Text color="gray" dimColor> {c.desc}</Text>
|
|
495
495
|
</Box>
|
|
496
496
|
))}
|
|
497
|
-
<Text color="gray" dimColor> \u2191\u2193 select
|
|
497
|
+
<Text color="gray" dimColor> \u2191\u2193 select \u2192 fill Enter run Esc cancel</Text>
|
|
498
498
|
</Box>
|
|
499
499
|
)}
|
|
500
500
|
|