Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

method libtmux-perl latest

Server.set_option

See "set_option" in LibTmux::Server for arguments, returned value, and completion.

Source and package
Qualified name
LibTmux::Async::Server::set_option
Module
LibTmux::Async
Declared in
Server
Package
LibTmux-Async
Source
packages/async/lib/LibTmux/Async/Server.pm
Other languages
Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustGo Java C# C++Swift Kotlin Scala OCaml F# Clojure
sub set_option($self, %args)

Methods#

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 server option

Equivalents of Set a server option in other languages
Language Equivalent
Python libtmux.Server.set_option
Lua libtmux.Server:set_option
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.setOption
Rust server.Server.set_option
Go tmux.Server.SetOption
Java reached through Server.options, whose Options carries the write
C# reached through Server.Options, whose TmuxOptions carries the write
C++ libtmux::Server::set_server_option
Swift Server.setOption(_:to:scope:)
OCaml Libtmux_unix.Client.set_option

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Set a session option

Equivalents of Set a session option in other languages
Language Equivalent
Python libtmux.Session.set_option
Lua libtmux.Session:set_option
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript session.Session.setOption
Rust session.Session.set_option
Go tmux.Session.SetOption
Java reached through Session.options, whose Options carries the write
C# reached through Session.Options, whose TmuxOptions carries the write
C++ libtmux::Session::set_option
Swift Server.setOption(_:to:scope:)
OCaml Libtmux_unix.Client.set_option

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Set a window option

Equivalents of Set a window option in other languages
Language Equivalent
Python libtmux.Window.set_option
Lua libtmux.Window:set_option
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript window.Window.setOption
Rust window.Window.set_option
Go tmux.Window.SetOption
Java reached through Window.options, whose Options carries the write
C# reached through Window.Options, whose TmuxOptions carries the write
C++ libtmux::Window::set_option
Swift Server.setOption(_:to:scope:)
OCaml Libtmux_unix.Client.set_option

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Set a pane option

Equivalents of Set a pane option in other languages
Language Equivalent
Python libtmux.Pane.set_option
Lua libtmux.Pane:set_option
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript pane.Pane.setOption
Rust pane.Pane.set_option
Go tmux.Pane.SetOption
Java reached through Pane.options, whose Options carries the write
C# reached through Pane.Options, whose TmuxOptions carries the write
C++ libtmux::Pane::set_option
Swift Server.setOption(_:to:scope:)
OCaml Libtmux_unix.Client.set_option

No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Set a default every session inherits

Equivalents of Set a default every session inherits in other languages
Language Equivalent
Python no equivalent on Server
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.setGlobalOption
Rust server.Server.set_global_option
Go no equivalent on Server
Java no equivalent on Server
C# no equivalent on Server
C++ libtmux::Server::set_global_option
Swift no equivalent on Server
OCaml No direct public OCaml equivalent is recorded for this operation.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference