luan / tmuxfiles

10 stars 9 forks source link

Panes whose shell session have exited continue to persist and must be killed via `C-spc x` #13

Closed jrussett closed 2 years ago

jrussett commented 2 years ago

Current behavior

If I close a tmux pane, only an error is emitted:

$ exit
...
Pane is dead (status 0, Mon Nov 29 22:26:30 2021)

Expected

  1. The shell session ends
  2. The pane disappears
jrussett commented 2 years ago

Closing this issue because this was a problem with our own configuration.

The problem was that we accidentally set the following nvim config:

set -g remain-on-exit on

To resolve we simply removed this line from our tmux configuration file and restarted tmux, and then the panes close as expected.