diff options
author | nicm <nicm> | 2019-06-03 18:28:37 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-03 18:28:37 +0000 |
commit | 4ca1de1b8bc10dca47d2cf7399df41845c902c9e (patch) | |
tree | 72457b8c867aebb24f83cf68f6b6f09387aa598a /tmux.1 | |
parent | 900238a30657a477f3c62ba344fcc73fc0948ac7 (diff) | |
download | rtmux-4ca1de1b8bc10dca47d2cf7399df41845c902c9e.tar.gz rtmux-4ca1de1b8bc10dca47d2cf7399df41845c902c9e.tar.bz2 rtmux-4ca1de1b8bc10dca47d2cf7399df41845c902c9e.zip |
Add new-session -X and attach-session -x to send SIGHUP to parent when
detaching (like detach-client -P). From Colin Watson in GitHub issue
1773.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -918,7 +918,7 @@ section. The following commands are available to manage clients and sessions: .Bl -tag -width Ds .It Xo Ic attach-session -.Op Fl dEr +.Op Fl dErx .Op Fl c Ar working-directory .Op Fl t Ar target-session .Xc @@ -931,6 +931,10 @@ If used from inside, switch the current client. If .Fl d is specified, any other clients attached to the session are detached. +If +.Fl x +is given, send SIGHUP to the parent process of the client as well as +detaching the client, typically causing it to exit. .Fl r signifies the client is read-only (only keys bound to the .Ic detach-client @@ -1048,7 +1052,7 @@ command. Lock all clients attached to .Ar target-session . .It Xo Ic new-session -.Op Fl AdDEP +.Op Fl AdDEPX .Op Fl c Ar start-directory .Op Fl F Ar format .Op Fl n Ar window-name @@ -1105,6 +1109,12 @@ already exists; in this case, behaves like .Fl d to +.Ic attach-session , +and +.Fl X +behaves like +.Fl x +to .Ic attach-session . .Pp If |