Merge remote-tracking branch 'krobelus/tmux-terminal-use-client-pane'

This commit is contained in:
Maxime Coste 2020-07-30 21:05:24 +10:00
commit 898945c8db

View File

@ -16,6 +16,9 @@ define-command -hidden -params 2.. tmux-terminal-impl %{
exit exit
fi fi
tmux_args="$1" tmux_args="$1"
if [ "${1%%-*}" = split ]; then
tmux_args="$tmux_args -t ${kak_client_env_TMUX_PANE}"
fi
shift shift
# ideally we should escape single ';' to stop tmux from interpreting it as a new command # ideally we should escape single ';' to stop tmux from interpreting it as a new command
# but that's probably too rare to care # but that's probably too rare to care