Ответ 1
Вы можете использовать <prefix> D
(где префикс C-b
по умолчанию) чтобы выбрать, какие клиенты будут отсоединены; он также перечислит их col/lines, а также последнее использованное время. Обратите внимание на верхний регистр D
, т.е. Shift + d.
Вы также можете использовать опцию tmux detach-client
detach-client [-P] [-a] [-s target-session] [-t target-client]
(alias: detach)
Detach the current client if bound to a key, the client specified
with -t, or all clients currently attached to the session speci-
fied by -s. The -a option kills all but the client given with
-t. If -P is given, send SIGHUP to the parent process of the
client, typically causing it to exit.
либо из <prefix>:
, за которым следует detach [options]
, либо в командной строке внутри tmux с tmux detach [options]