Commit 431ab02
Auto-respawn tmux pane on SIGINT instead of showing "Pane is dead"
Adds a pane-died hook that catches exit status 130 (SIGINT/Ctrl-C) and
respawns a fresh shell, preventing the confusing "Pane is dead" message.
Other non-zero exits are still preserved for debugging.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 31703dc commit 431ab02
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
491 | 494 | | |
492 | 495 | | |
493 | 496 | | |
| |||
0 commit comments