I am writing a bash script that scans all open panels and executes several send-keys commands. Except that I want to apply some other logic to the panel, I execute this script to prevent the disconnection of the send keys from the script.
Is there a command to get the ID of the panel I'm working in now for tmux?
source share