Open christoomey opened 7 years ago
We can detect if a pane is in copy mode with tmux display-message -p -F '#{pane_in_mode}' which is 1 if in copy mode, else 0. If detected, we should first send 'q' to exit copy mode, then send the command.
tmux display-message -p -F '#{pane_in_mode}'
'q'
We can detect if a pane is in copy mode with
tmux display-message -p -F '#{pane_in_mode}'
which is 1 if in copy mode, else 0. If detected, we should first send'q'
to exit copy mode, then send the command.