Commit bb6c2e2
committed
fix(ui): Ctrl-C aborts; double-tap exits regardless of state
Before: a single Ctrl-C while the agent was busy aborted the turn but
never armed the exit window, so users had no fast way out during a
long generation. They had to wait for the abort to complete, land in
idle, then press Ctrl-C twice. Frustrating when you want to bail.
Now: every Ctrl-C arms a 1s double-tap window. While busy, the first
press also aborts (silent — the abort is its own feedback). While
idle, the first press shows the 'press again to exit' hint. The
second press within 1s exits in either case. 'Twice real fast = quit'
is the standard CLI convention.1 parent 73f65db commit bb6c2e2
2 files changed
Lines changed: 22 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
355 | 360 | | |
356 | 361 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | | - | |
368 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
369 | 378 | | |
370 | 379 | | |
371 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments