server.Server.showGlobalOptions
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java
- .NET Unavailable
- C++
- Swift Unavailable
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- Python Ruby Lua Rust Go Java .NET C++ Swift
- showGlobalOptions ( scope : : "session" | "window" ) Promise<ReadonlyMap<string, string>>
-
Read the defaults every session or window inherits.
Most of tmux's options live here rather than on an object: a session that has set nothing reports nothing, while the values actually governing it are these.
history-limitanddefault-shellare both global session options andremain-on-exita global window one; none of the three is readable any other way.Examples
const defaults = await server.showGlobalOptions("session");defaults.get("default-shell");In other ports Read the defaults every session inherits
- Python no equivalent on
Server - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- Rust no whole-table read;
Server.get_global_optionreads one - Go no equivalent on
Server - Java
io.github.libtmux.Server.Server.globalOptions - .NET no equivalent on
Server - C++
libtmux::Server::global_options - Swift no equivalent on
Server
- Python no equivalent on
0 declared, 0 inherited