tmux-python / tmuxp

🖥️ Session manager for tmux, build on libtmux.
https://tmuxp.git-pull.com/
MIT License
4.09k stars 233 forks source link

Add support for tmux 2.3's pane status text #384

Open arturbalabanov opened 6 years ago

arturbalabanov commented 6 years ago

Since version 2.3 tmux is able to assign a title to a pane which can be shown using the pane-border-status option. Additionally the option pane-border-format allows to set that title. However, this option applies to all panes and if you want to have per-pane specific title you have to use escape sequences, at least I'm not aware of a more elegant solution. Using that, it is indeed possible to use this functionality with the current version of tmuxp, but the yaml file doesn't look very pretty:

          - shell_command:
              - printf '\033]2;%s\033\\' 'pane title'
              - actual_command

It would be nice to add a dedicated attribute for that, something like title or status that essentially does the ugly printf above.

piotrraczynski commented 2 years ago

so is it implemented or is anyone working on that?

tony commented 2 years ago

@piotrraczynski Not that I can see. We need a PR