Commit 698d362
fix(ui): use tea.Quit for ctrl+q to return exit code 0
ctrl+q is an intentional quit action and should return success (exit
code 0). Changed from tea.Interrupt (non-zero exit) to tea.Quit.
tea.Interrupt should be reserved for actual error conditions or
unhandled panics, not user-initiated graceful exits.
Also applies to regular 'q' in nav mode which already used tea.Quit
correctly.
Closes #173
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent daee821 commit 698d362
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
1080 | | - | |
| 1080 | + | |
1081 | 1081 | | |
1082 | 1082 | | |
1083 | 1083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments