diff --git a/lib/layout-helpers.sh b/lib/layout-helpers.sh index 3886733..b01bc0d 100644 --- a/lib/layout-helpers.sh +++ b/lib/layout-helpers.sh @@ -68,12 +68,7 @@ select_pane() { # - $2: (optional) Target pane ID to run command in. # run_cmd() { - literal_support=$(tmux send-keys -l 2&> /dev/null ; echo $?) - if [ $literal_support -eq 0 ]; then - tmux send-keys -t "$session:$window.$2" -l "$1" - else - tmux send-keys -t "$session:$window.$2" "$1" - fi + tmux send-keys -t "$session:$window.$2" "$1" tmux send-keys -t "$session:$window.$2" "C-m" }