On this page
server.Server.showGlobalOptions
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
- 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");
0 declared, 0 inherited