Window.set_option
Source and package
- set_option: fun( self: libtmux
.Configurable <libtmux.Snapshot >, name: string, value: boolean|string|number|libtmuxWindow .Hook |libtmuxProgram .Option , options?: libtmuxArray Input .Setting , ):libtmuxSet Options .Request <boolean> -
Inherited from
libtmux.Configurable- Parameters
tmux command#
The tmux commands behind set_option.
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#
Set a window option
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | reached through Window.options, whose Options carries the write |
| C# | reached through Window.Options, whose TmuxOptions carries the write |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | Libtmux |
| Perl | Lib Pass scope => 'window' and the explicit target ID where applicable; inherited and global reads are deliberate options. |
No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.