Both main and Bubble Tea handled SIGTERM. When main's tea.Quit won the race, Bubble Tea's signal goroutine blocked forever on an unbuffered send and Program.shutdown waited for it: vcom hung in the alt screen without saving the session. Bubble Tea already handles SIGTERM/SIGINT; main now only adds SIGHUP. Also: .gitignore 'vcom' ignored the whole cmd/vcom/ dir, anchor it to the binary (/vcom); the SIGTERM pty test runs 2 iterations by default and the full 12 with VCOM_SLOW_TESTS=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| vcom | ||