session.Session.set_option
- Module
- session
- Declared in
- Session
- Package
- libtmux
- Source
- crates/libtmux/src/session/settings.rs
- Other languages
- Python Ruby LuaTypeScriptGo Java .NET C++Swift
-
Set one option to text, unchecked.
The value is marked sensitive, so it never reaches
Debug, an error, or a tracing span. tmux validates it;Self::set_typed_optionchecks it against tmux's option table first.Errors
Returns an error when tmux rejects the name or value.
Returns
crate::Error::OptionScopeMismatchwhen tmux keeps the option in another of its tables.In other ports Set a session option
- Python
libtmux.Session.set_option - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Session:set_option - TypeScript
session.Session.setOption - Go
tmux.Session.SetOption - Java reached through
Session.options, whoseOptionscarries the write - .NET reached through
Session.Options, whoseTmuxOptionscarries the write - C++
libtmux::Session::set_option - Swift
Server.setOption(_:to:scope:)
- Python
0 declared, 0 inherited