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.
This commit is contained in:
nicm
2019-06-03 18:28:37 +00:00
parent 900238a306
commit 4ca1de1b8b
4 changed files with 35 additions and 15 deletions

2
tmux.h
View File

@ -2009,7 +2009,7 @@ extern const struct cmd_entry *cmd_table[];
/* cmd-attach-session.c */
enum cmd_retval cmd_attach_session(struct cmdq_item *, const char *, int, int,
const char *, int);
int, const char *, int);
/* cmd-parse.c */
void cmd_parse_empty(struct cmd_parse_input *);