Last active
November 11, 2021 07:24
-
-
Save skt041959/8461f3e7392736fce4ac37068917d9d5 to your computer and use it in GitHub Desktop.
Use osc52 in nested tmux https://github.com/tmux/tmux/issues/846
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_osc() { | |
printf %b '\033]52;c;' $(date +"1_%m_%d_%H_%M" | base64) '\007' | |
printf %b '\033Ptmux;\033\033]52;c;' $(date +"2_%m_%d_%H_%M" | base64) '\007\033\\' | |
printf %b '\ePtmux;\e\ePtmux;\e\e\e\e]52;c;' $(date +"3_%m_%d_%H_%M" | base64) '\a\a\e\e\\\e\' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment