feat: Updates tmux-sessionator how it spawns the editor window so it doesn't kill the pane on exit.

This commit is contained in:
2024-12-03 08:21:00 -05:00
parent 3518ba059f
commit 9e48ba0a77

View File

@@ -78,7 +78,8 @@ fi
# Create a session if it doesn't exist.
if ! tmux has-session -t "$selected_name" 2> /dev/null; then
tmux new-session -ds "$selected_name" -c "$selected" -n "editor" "${EDITOR} ."
tmux new-session -ds "$selected_name" -c "$selected" -n "editor"
tmux send-keys -t editor 'n' Enter
tmux new-window -d -n "terminal" -c "$selected"
fi