Open kohnish opened 2 years ago
iTerm2 supports updating the badge with printf like this. It's useful for updating in an environment like ssh and tmux.
#!/bin/sh badge_str=$1 printf "\033Ptmux;\033\033]1337;SetBadgeFormat=%s\a\033\\" $(echo -n "$badge_str" | base64)
iTerm2 supports updating the badge with printf like this. It's useful for updating in an environment like ssh and tmux.