Add -s support for kitty

performance
noctuid 7 years ago
parent 36995d1090
commit 95d742acc0

@ -159,6 +159,7 @@ These terminals have been tested with tdrop and support the =-s= and =-a= flags
- st (-s does not work) - st (-s does not work)
- Alacritty - Alacritty
- xiate - xiate
- [[https://github.com/kovidgoyal/kitty][kitty]]
If your terminal doesn't work with tdrop, feel free to make an issue. Please follow the steps in the [[#troubleshooting][Troubleshooting]] section. If your terminal doesn't work with tdrop, feel free to make an issue. Please follow the steps in the [[#troubleshooting][Troubleshooting]] section.

@ -568,6 +568,8 @@ program_start() {
tmux new-session -s $session_name'" tmux new-session -s $session_name'"
if [[ $program =~ ^(urxvt|alacritty|xiatec$) ]]; then if [[ $program =~ ^(urxvt|alacritty|xiatec$) ]]; then
program_command="$program_command -e bash -c $tmux_command" program_command="$program_command -e bash -c $tmux_command"
elif [[ $program == kitty ]]; then
program_command="$program_command bash -c $tmux_command"
else else
program_command="$program_command -e \"bash -c $tmux_command\"" program_command="$program_command -e \"bash -c $tmux_command\""
fi fi

Loading…
Cancel
Save