# tmux config for the human-session server. Invisible by design: no status line, no
# prefix key, no keybindings — the pane behaves as if the runtime owned the terminal.
set -g status off
set -g prefix None
set -g prefix2 None
unbind -a -T prefix
# The root table stays: mouse wheel scrollback lives there, and it is the one tmux
# behaviour the terminal would otherwise lose.
set -g mouse on

# The runtime draws truecolor and uses OSC sequences for clipboard, hyperlinks and images;
# without these tmux swallows them.
set -g default-terminal "tmux-256color"
set -as terminal-features ",*:RGB"
set -g allow-passthrough on
set -g set-clipboard on
set -g focus-events on

set -g history-limit 200000
set -g escape-time 0

# The server must outlive both the client and the last session, or the unit dies with the
# terminal it was supposed to survive.
set -g exit-empty off
set -g destroy-unattached off
set -g detach-on-destroy on
