Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ts latest

Window.showOptions

Every option set on this window itself, not the ones it inherits.

Source and package
Qualified name
Window.showOptions
Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
PowerShell Julia Elixir PythonRuby Lua RustGoJavaC#C++Swift Kotlin Scala F#

Description#

A fresh window usually has none, so an empty map here means nothing was set on this window — not that the option has no value. showResolvedOptions() answers what actually governs it.

Examples#

const options = await window.showOptions();
options.get("automatic-rename");
Parameters

tmux command#

The tmux commands behind showOptions.

tmux C API#

The C declarations in tmux that implement these commands.

tmux options#

Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.

In other ports#

Read the options set on a window

Equivalents of Read the options set on a window in other languages
Language Equivalent
Python libtmux.Window.show_options
Ruby LibTmux::Window#options
Rust window.Window.options
Go tmux.Window.Options
Java io.github.libtmux.Window.options
C# LibTmux.Window.Options
C++ libtmux::Window::options
Swift Server.options(_:)

No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference