server.Server.showOptions
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- PythonRuby Lua RustGoJava.NETC++Swift
-
Every server-scope option tmux currently reports.
In other ports Read the options set on the server
- Python
libtmux.Server.show_options - Ruby
LibTmux::Server#options - Lua No source-verified Lua equivalent is recorded for this operation.
- Rust
server.Server.options - Go
tmux.Server.Options - Java
io.github.libtmux.Server.Server.options - .NET
LibTmux.Server.Options - C++
libtmux::Server::options - Swift
Server.options(_:)
- Python
Examples
const options = await server.showOptions();options.get("escape-time");>>> options = server.show_options()>>> isinstance(options, dict)True>>> 'buffer-limit' in optionsTruelet guard = libtmux::test::TestServer::new().await?;let server = guard.server();
server.set_option("buffer-limit", "42").await?;let options = server.options().await?;assert!(options.contains_key("buffer-limit"));
guard.shutdown().await?;0 declared, 0 inherited