tycono 0.1.96-beta.27 → 0.1.96-beta.28

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui/app.tsx +6 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tycono",
3
- "version": "0.1.96-beta.27",
3
+ "version": "0.1.96-beta.28",
4
4
  "description": "Build an AI company. Watch them work.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/tui/app.tsx CHANGED
@@ -364,17 +364,16 @@ export const App: React.FC = () => {
364
364
  }
365
365
  }, [execute, addSystemMessage, addSystemLines, focusedWaveId, focusedWaveIndex, derivedWaveStatus, api.sessions.length, activeCount, waves, api.activeSessions, api.portSummary]);
366
366
 
367
- // Global key handler: Tab to toggle mode, Ctrl+C handling
367
+ // Global key handler: Tab to toggle mode, Ctrl+C always exits
368
368
  useInput((input, key) => {
369
- if (mode === 'command' && key.tab) {
370
- setMode('panel');
371
- return;
372
- }
373
- // Ctrl+C in command mode: exit
374
369
  if (key.ctrl && input === 'c') {
375
370
  exit();
371
+ return;
376
372
  }
377
- }, { isActive: mode === 'command' });
373
+ if (mode === 'command' && key.tab) {
374
+ setMode('panel');
375
+ }
376
+ });
378
377
 
379
378
  // Loading state
380
379
  if (view === 'loading') {