server.Server.typed_option
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server/settings.rs
- Other languages
- Python TypeScript Go Java .NET C++ Swift
-
Read one server option, decoded according to its declared kind.
The one way to read a single option;
OptionValuesays how reads and writes fit together.TmuxText::from(value)recovers the exact bytes tmux stored.Nonemeans the option holds nothing: a built-in option that is unset, or a user option that was never set. tmux prints nothing for an option set to the empty string either, so that also reads asNone.Errors
Returns an error when tmux does not recognize the option name.
In other ports Read one server option
- Python
libtmux.Server.show_option - TypeScript no single-option read;
Server.showOptionsreturns them all - Go
tmux.Server.RawOption - Java reached through
Server.options, whoseOptions.getreads one - .NET reached through
Server.Options, whoseTmuxOptions.GetAsyncreads one - C++ no single-option read;
Server::optionsreturns them all - Swift
Server.option(_:scope:)
- Python
0 declared, 0 inherited