@volter/supercode-terminal 0.2.65 → 0.2.66
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/index.mjs +2 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1750,6 +1750,8 @@ const ANSI_SEQUENCE = /\u001b\[[0-?]*[ -\/]*[@-~]|\u001b\][^\u0007\u001b]*(?:\u0
|
|
|
1750
1750
|
export function composerReadyForInput(kind, screen) {
|
|
1751
1751
|
if (!Object.hasOwn(COMPOSER_READY, kind)) return null;
|
|
1752
1752
|
if (kind === 'claude-code' || kind === 'codex') return composerText(kind, screen) === '';
|
|
1753
|
+
// gemini and grok: their composer is drawn, which is all a caret line says. A draft already typed in it is not
|
|
1754
|
+
// read (no composerText for them), so for these two `true` means a composer present, not an empty one.
|
|
1753
1755
|
return COMPOSER_READY[kind](String(screen ?? ''));
|
|
1754
1756
|
}
|
|
1755
1757
|
|