On my local machine I've got 3 node.js instances running simultaneously. Each has it's own pane in a tmux window called "servers". The problem is that it's not that easy to figure out which node is running in which pane, 'cause their logs are similar.
What I need is a title for every pane. As I got, tmux itself doesn't have the feature: it has only titles for windows and not for panes. Launching a separate tmux session inside every pane for every node.js instance looks like an overkill.
So is there some small program that launches a command, wrapping its output with a specified status bar?
Thanks in advance
Best Answer
This functionality has been added to tmux in this commit. It is not in version 2.2, but it looks like it will be in 2.3.
To enable it:
or if you prefer:
To set a custom text as your pane border status line you can make use of
pane-border-format
, e.g. like so: