From 303d342d5fa5903983c08e4cae429e4f9480eea3 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 16:20:59 +0000 Subject: 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. --- tmux.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tmux.1') 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 -- cgit