Add no-detach-on-destroy client option (useful for control mode

clients). From laur dot aliste at gmail dot com, GitHub issue 4242.
This commit is contained in:
nicm
2024-11-15 14:09:04 +00:00
parent 350a151ee4
commit c66628e52b
4 changed files with 24 additions and 5 deletions

1
tmux.h
View File

@ -1924,6 +1924,7 @@ struct client {
#define CLIENT_BRACKETPASTING 0x1000000000ULL
#define CLIENT_ASSUMEPASTING 0x2000000000ULL
#define CLIENT_REDRAWSCROLLBARS 0x4000000000ULL
#define CLIENT_NO_DETACH_ON_DESTROY 0x8000000000ULL
#define CLIENT_ALLREDRAWFLAGS \
(CLIENT_REDRAWWINDOW| \
CLIENT_REDRAWSTATUS| \