

You can close the current window with: C-x (Your prefix Ctrl+a in the case of the OP, Ctrl+b by default)

nf: bind C-x confirm-before -p "kill other windows? (y/n)" "kill-window -a"īind Q confirm-before -p "kill-session #S? (y/n)" kill-session If you'd like a custom kill session keybind suggests these additions to your. Kill-server kills all sessions not merely the current one This way there is no need to type a command at the prompt (accessed with C-x :) One way is C-x : to get the tmux prompt and kill-sessionĪs pointed out C-x w gives you an interface to select windows across multiple sessions which you can select with the arrow keys and t to toggle the tagged status then X to kill the tagged windows and y to confirm this action. This is not a problem outside of tmux.Unfortunately there does not appear to be a simple default keybind to do this, possibly because it's an action you might want to be careful about though this could be addressed with a confirm dialogue. If any tmux pane is a shell, typing clear will return the shell prompt to the top of the pane but will not clear the pane of text until that text is written over. In case it helps solve the main problem, there is other strange behavior. I don't think its the terminal emulator because I've tried it on Windows Terminal and cmder with the same results. I don't know if it's caused by WSL or if its a bug with tmux. I would like to know how to fix this behavior. Notice the breaks in the dividing vertical line where abc bleeds into 123. When tmux opens, it looks like this: 1 |a

I build a new tmux session, but when I attach to it, the right pane bleeds into the left pane on double newlines. I'm trying to use tmux version 3.1c on my Windows Subsystem for Linux version 2 (WSL2) based Debian 11 container running in Docker (version 20.10.12).
