libtmux Reference MCP Search
On this page

Server.unsetOption(_:scope:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Options.swift
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

0 declared, 0 inherited

Esc

Type to search.