summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-08-16 10:00:52 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-08-16 10:00:52 +0000
commit88e9079870a770c39dd8f96302602a792db9a90a (patch)
tree548482bcc5dfa5f3f3825759445a78056427f4a5 /tmux.1
parentf95f792ddf208e24e1f979b1bf5d373a8052af68 (diff)
Add a -r flag to switch-client to toggle the client read-only flag. From
Johan Commelin.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.110
1 files changed, 8 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 2f1bd90e..8b7639ae 100644
--- a/tmux.1
+++ b/tmux.1
@@ -558,7 +558,9 @@ is specified, any other clients attached to the session are detached.
.Fl r
signifies the client is read-only (only keys bound to the
.Ic detach-client
-command have any effect)
+or
+.Ic switch-client
+commands have any effect)
.Pp
If no server is started,
.Ic attach-session
@@ -714,7 +716,7 @@ Suspend a client by sending
.Dv SIGTSTP
(tty stop).
.It Xo Ic switch-client
-.Op Fl lnp
+.Op Fl lnpr
.Op Fl c Ar target-client
.Op Fl t Ar target-session
.Xc
@@ -730,6 +732,10 @@ or
.Fl p
is used, the client is moved to the last, next or previous session
respectively.
+.Fl r
+toggles whether a client is read-only (see the
+.Ic attach-session
+command).
.El
.Sh WINDOWS AND PANES
A