Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Swift API

Swift documentation

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
Other languages
Python Ruby LuaTypeScriptRustGo Java .NET C++
unsetOption(_:scope:) ( name : String , scope : OptionScope ) → TmuxReply
methodasync [source]
methodasync [source]
unsetOption(_:scope:)

Puts an option back the way it was before anyone set it.

What that means depends on the option. A user option — @-prefixed, which tmux never interprets — is deleted outright and stops being listed. One of tmux's own reverts to its built-in default, so it is still listed, carrying a value nobody chose.

Unsetting a name nothing was set to succeeds and changes nothing.

Raises

Discussed in Options and hooks

In other ports Unset a server option
In other ports Unset a session option
In other ports Unset a window option
In other ports Unset a pane option

0 declared, 0 inherited

Esc

Type to search.