aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-06 11:00:55 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-06 11:00:55 +0000
commitbc3580fa066ee38fd752b8414cb72af7bf3861b8 (patch)
tree4b749dfe7bf259012aae95c19637d5b9c2547ea9 /tmux.1
parent7fd4d49d562d2f57e21d9198bc28914891478f7c (diff)
downloadrtmux-bc3580fa066ee38fd752b8414cb72af7bf3861b8.tar.gz
rtmux-bc3580fa066ee38fd752b8414cb72af7bf3861b8.tar.bz2
rtmux-bc3580fa066ee38fd752b8414cb72af7bf3861b8.zip
Add wait-for -L and -U for lock and unlock, from Thiago Padilha.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 8 insertions, 4 deletions
diff --git a/tmux.1 b/tmux.1
index 8df7975e..0b5d6a6a 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3554,16 +3554,20 @@ If the command doesn't return success, the exit status is also displayed.
.D1 (alias: Ic info )
Show server information and terminal details.
.It Xo Ic wait-for
-.Fl S
+.Fl LSU
.Ar channel
.Xc
.D1 (alias: Ic wait )
-When used without
-.Fl S ,
-prevents the client from exiting until woken using
+When used without options, prevents the client from exiting until woken using
.Ic wait-for
.Fl S
with the same channel.
+When
+.Fl L
+is used, the channel is locked and any clients that try to lock the same
+channel are made to wait until the channel is unlocked with
+.Ic wait-for
+.Fl U .
This command only works from outside
.Nm .
.El