aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:20:59 +0000
committernicm <nicm>2020-05-16 16:20:59 +0000
commit303d342d5fa5903983c08e4cae429e4f9480eea3 (patch)
tree150aab174cb176f9a0f8fe29e5b1eb46a65457ec /tmux.1
parentc914abfa19938fe0e41941879649b7a40e192082 (diff)
downloadrtmux-303d342d5fa5903983c08e4cae429e4f9480eea3.tar.gz
rtmux-303d342d5fa5903983c08e4cae429e4f9480eea3.tar.bz2
rtmux-303d342d5fa5903983c08e4cae429e4f9480eea3.zip
Add a client flag 'active-pane' which stores the active pane in the
client and allows it to be changed independently from the real active pane stored in the window. This is can be used with session groups which allow an independent current window (although it would be nice to have a flag for this too and remove session groups). The client active pane is only really useful interactively, many things (hooks, window-style, zooming) still use the window active pane.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.19
1 files changed, 9 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index baa296fb..0b03becc 100644
--- a/tmux.1
+++ b/tmux.1
@@ -986,6 +986,8 @@ the client is read-only
the client does not affect the size of other clients
.It no-output
the client does not receive pane output in control mode
+.It active-pane
+the client has an independent active pane
.El
.Pp
A leading
@@ -1000,6 +1002,13 @@ When a client is read-only, only keys bound to the
or
.Ic switch-client
commands have any effect.
+A client with the
+.Ar active-pane
+flag allows the active pane to be selected independently of the window's active
+pane used by clients without the flag.
+This only affects the cursor position and commands issued from the client;
+other features such as hooks and styles continue to use the window's active
+pane.
.Pp
If no server is started,
.Ic attach-session