Repository navigation
tm-exclusions v1.4.1
Fixes
-
A lost tmux client no longer leaves a work directory behind: stopping the interface removed the session with
kill-sessionandkill-serverback to back. The server then kills the pane processes outright, so the inner run never ran its traps and its owntm_exc_work.*directory stayed inTMPDIR(with the scan files) after the terminal was closed mid-run.tmux_cleanupnow sendsTERMto each live pane's process group and waits up to two seconds for the session to close, so the wrapper publishes its status and the inner run cleans up before anything is removed. Skipped oncetmux.rcis published (a dead pane's pid may already belong to another process). Covered by the new "lost client mid-run" scenario intests/test_tmux_ui.sh. -
--tmuxno longer shows a blank screen for the whole run: the attach client was started with a read-only reopen of the terminal (< /dev/ttysN). Real tmux (3.8) attaches such a client, registers it inlist-clients, and then never draws the two panes, so the interface stayed empty from start to finish with no error, and--tmuxlooked like a run that output nothing. The client now gets a read-write handle (<>on the same device), and its stderr goes toTMP_DIR/tmux_attach.errinstead of/dev/null; when the client fails while the run is still going, the first stderr line is reported next toMSG_TMUX_ATTACH_LOST. The/dev/ttyfallback (rejected by tmux 3.8) is dropped: without a usable device the client runs on the inherited stdin and fails loudly. Covered bytests/test_tmux_ui.sh, which now checks that the attach client's stdin isO_RDWRand, on the real-tmux scenario, that the interface is actually drawn in the terminal.