Add a wait-for command which blocks a client on a named channel until it is

wokrn up again (with wait-for -S). From Thiago Padilha.
This commit is contained in:
Nicholas Marriott
2013-03-06 09:57:26 +00:00
parent ec75f9d1a3
commit 7fd4d49d56
5 changed files with 142 additions and 0 deletions

13
tmux.1
View File

@ -3553,6 +3553,19 @@ If the command doesn't return success, the exit status is also displayed.
.It Ic server-info
.D1 (alias: Ic info )
Show server information and terminal details.
.It Xo Ic wait-for
.Fl S
.Ar channel
.Xc
.D1 (alias: Ic wait )
When used without
.Fl S ,
prevents the client from exiting until woken using
.Ic wait-for
.Fl S
with the same channel.
This command only works from outside
.Nm .
.El
.Sh TERMINFO EXTENSIONS
.Nm