tycono 0.3.16 → 0.3.17
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 +1 -1
- package/src/tui/app.tsx +4 -4
package/package.json
CHANGED
package/src/tui/app.tsx
CHANGED
|
@@ -634,10 +634,10 @@ export const App: React.FC = () => {
|
|
|
634
634
|
setMode('panel');
|
|
635
635
|
}
|
|
636
636
|
// Esc in Command Mode → interrupt supervisor (like Claude Code)
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
637
|
+
// Only when actually streaming (not idle/done) — prevents spam on repeated Esc
|
|
638
|
+
if (mode === 'command' && key.escape && focusedWaveId
|
|
639
|
+
&& (sse.streamStatus === 'streaming')) {
|
|
640
|
+
stopWave(focusedWaveId).catch(() => {});
|
|
641
641
|
}
|
|
642
642
|
});
|
|
643
643
|
|