tycono 0.3.36 → 0.3.37
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/package.json
CHANGED
|
@@ -458,16 +458,20 @@ export const CommandMode: React.FC<CommandModeProps> = ({
|
|
|
458
458
|
);
|
|
459
459
|
})()}
|
|
460
460
|
|
|
461
|
-
{/* Input */}
|
|
461
|
+
{/* Input — TextInput only rendered when active (prevents stdin capture in Panel mode) */}
|
|
462
462
|
<Box paddingX={0} marginTop={0}>
|
|
463
463
|
<Text color={quickBarActive ? 'gray' : 'yellow'} bold>> </Text>
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
464
|
+
{isActive ? (
|
|
465
|
+
<TextInput
|
|
466
|
+
value={input}
|
|
467
|
+
onChange={(v) => { setInput(v); setAcIndex(0); }}
|
|
468
|
+
onSubmit={handleSubmit}
|
|
469
|
+
placeholder=""
|
|
470
|
+
focus={!quickBarActive}
|
|
471
|
+
/>
|
|
472
|
+
) : (
|
|
473
|
+
<Text>{input}</Text>
|
|
474
|
+
)}
|
|
471
475
|
</Box>
|
|
472
476
|
|
|
473
477
|
{/* Command autocomplete — shown when typing / */}
|