I use pane-border-status instead of the status bar that I had set status off. pane-border-format can indicate the prefix key was pressed. Not only active pane but all pane will show the prefix icon, I hope only active pane shows the prefix icon.
This flawed method annoys me and I have plan b. Use the pane-active-border-style to change the active pane color to indicate the prefix key was press, after executing a command the color restore. It's easy to change color by using tmux bind -n 'C-b' 'set -g pane-active-border-style fg=blue\; switchc -Tprefix' to bind the prefix key.
But no way to restore the color, so I hope to add the hook after prefix+command to restore the color back.
btw, support pane border status align center.
Doesn't something like this work:
On Fri, 22 Nov 2019, 02:56 kevinhwang91, notifications@github.com wrote:
I use pane-border-status instead of the status bar that I had set status
off. pane-border-format can indicate the prefix key was pressed. Not only
active pane but all pane will show the prefix icon, I hope only active pane
shows the prefix icon.This flawed method annoys me and I have plan b. Use the
pane-active-border-style to change the active pane color to indicate the
prefix key was press, after executing a command the color restore. It's
easy to change color by using tmux bind -n 'C-b' 'set -g
pane-active-border-style fg=blue\; switchc -Tprefix' to bind the prefix
key.
But no way to restore the color, so I hope to add the hook after
prefix+command to restore the color back.btw, support pane border status align center.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tmux/tmux/issues/1981?email_source=notifications&email_token=AACKI45R36UTW5ER4AR43U3QU5C5DA5CNFSM4JQK7TR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3IXOKA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKI47VHY6FPWGK5XU66D3QU5C5DANCNFSM4JQK7TRQ
.
Now plan a is perfect. Please give the option to align the pane border, please!!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Doesn't something like this work:
{&&:#{pane_active},#{client_prefix}}
On Fri, 22 Nov 2019, 02:56 kevinhwang91, notifications@github.com wrote: