diff --git a/scripts/toggle_logging.sh b/scripts/toggle_logging.sh index 9299973..8609288 100755 --- a/scripts/toggle_logging.sh +++ b/scripts/toggle_logging.sh @@ -24,7 +24,7 @@ stop_pipe_pane() { # returns a string unique to current pane pane_unique_id() { - tmux display-message -p "#{session_name}_#{window_index}_#{pane_index}" + tmux display-message -p "#{session_name}_#{window_id}_#{pane_id}" } # saving 'logging' 'not logging' status in a variable unique to pane