autoDetachOnDisconnect property
Whether a client connection that drops (network loss, crash, terminal
closed) automatically detaches its session — keeping the PTY, shell and
child processes alive for a later resume — instead of terminating it.
Reuses the same detach path as the :detach command. Default true.
Implementation
final bool autoDetachOnDisconnect;