When purple is running inside a tmux session, pressing Enter on a host suspends the TUI and takes over the current terminal for the SSH session. It would be more ergonomic to open the connection in a new tmux window instead, so the TUI stays alive for quick navigation to other hosts.
Expected behavior
- $TMUX set → SSH opens in a new tmux window named after the host alias; TUI remains in the original window
- No tmux → current behavior unchanged
- Hosts with askpass / Bitwarden session → current behavior unchanged (password relay requires stdin)
Use case
Managing multiple SSH sessions simultaneously — switch between them with prefix + n/p without leaving purple.
Implementation
A working implementation is available at https://github.com/culnaen/purple/tree/feature/tmux-window-support.
The code was written with Claude Code.
When purple is running inside a tmux session, pressing Enter on a host suspends the TUI and takes over the current terminal for the SSH session. It would be more ergonomic to open the connection in a new tmux window instead, so the TUI stays alive for quick navigation to other hosts.
Expected behavior
Use case
Managing multiple SSH sessions simultaneously — switch between them with prefix + n/p without leaving purple.
Implementation
A working implementation is available at https://github.com/culnaen/purple/tree/feature/tmux-window-support.
The code was written with Claude Code.