Commit 5cc3857
committed
feat: support "exit" as a keyword to quit the session
Typing "exit" in the TUI now terminates the session immediately,
equivalent to the /exit slash command. The check is case-insensitive
and whitespace-trimmed, and runs before slash command parsing so it
works even when the agent is busy.1 parent 2efd1bb commit 5cc3857
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
627 | 633 | | |
628 | 634 | | |
629 | 635 | | |
| |||
0 commit comments