I set a custom option on a pane (tmux set -p @foo bar), saved, killed the server, restored.
The session and window names came back fine, but the option was gone - it's not written to the save file at all.
Tmux lingo calls it "user options"
https://github.com/tmux/tmux/wiki/Formats#options-and-environment-variables
Would be handy for things like AI coding agents running in panes - restoring their per-pane state after a restart.
Happy to share the small Docker script I used to verify this.
I set a custom option on a pane (
tmux set -p @foo bar), saved, killed the server, restored.The session and window names came back fine, but the option was gone - it's not written to the save file at all.
Tmux lingo calls it "user options"
https://github.com/tmux/tmux/wiki/Formats#options-and-environment-variables
Would be handy for things like AI coding agents running in panes - restoring their per-pane state after a restart.
Happy to share the small Docker script I used to verify this.