# LibTmux::Async::Server::unset_option

- **Module:** LibTmux::Async
- **Package:** LibTmux-Async
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/async/lib/LibTmux/Async/Server.pm#L92
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-async-server-unset_option/

```
sub unset_option($self, %args)
```

See [`"unset_option" in LibTmux::Server`](/en/perl/latest/reference/libtmux-server-unset_option/) for arguments, returned value, and completion.

## Methods

## Parameters

- `args`

## tmux command

The tmux commands behind `unset_option`.

- [`set-option`](/en/tmux/latest/manual/set-option/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_set_option_entry`](/en/tmux/latest/reference/c-variable-cmd_set_option_entry/) (attribute)
- [`cmd_set_option_exec`](/en/tmux/latest/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function)

## tmux options

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

- [Options](/en/tmux/latest/catalog/options/) (option)

## In other ports

Unset a server option

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Server.unset_option`](/en/py/latest/reference/libtmux-server-unset_option/) (method) |
| Lua | [`libtmux.Server:unset_option`](/en/lua/latest/reference/libtmux-server-unset_option/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`server.Server.unsetOption`](/en/ts/latest/reference/server-server-unsetoption/) (method) |
| Rust | [`server.Server.unset_option`](/en/rs/latest/reference/server-server-unset_option/) (method) |
| Go | [`tmux.Server.UnsetOption`](/en/go/latest/reference/tmux-server-unsetoption/) (method) |
| Java | reached through `Server.options`, whose `Options` carries the write |
| C# | reached through `Server.Options`, whose `TmuxOptions` carries the write |
| C++ | no equivalent on `Server` |
| Swift | [`Server.unsetOption(_:scope:)`](/en/swift/latest/reference/server-unsetoption(_-scope-)/) (method) |
| OCaml | [`Libtmux_unix.Client.unset_option`](/en/ocaml/latest/reference/libtmux_unix-client-unset_option/) (function) |

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

Unset a session option

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Session.unset_option`](/en/py/latest/reference/libtmux-session-unset_option/) (method) |
| Lua | [`libtmux.Session:unset_option`](/en/lua/latest/reference/libtmux-session-unset_option/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`session.Session.unsetOption`](/en/ts/latest/reference/session-session-unsetoption/) (method) |
| Rust | [`session.Session.unset_option`](/en/rs/latest/reference/session-session-unset_option/) (method) |
| Go | [`tmux.Session.UnsetOption`](/en/go/latest/reference/tmux-session-unsetoption/) (method) |
| Java | reached through `Session.options`, whose `Options` carries the write |
| C# | reached through `Session.Options`, whose `TmuxOptions` carries the write |
| C++ | [`libtmux::Session::unset_option`](/en/cxx/latest/reference/libtmux-session-unset_option/) (method) |
| Swift | [`Server.unsetOption(_:scope:)`](/en/swift/latest/reference/server-unsetoption(_-scope-)/) (method) |
| OCaml | [`Libtmux_unix.Client.unset_option`](/en/ocaml/latest/reference/libtmux_unix-client-unset_option/) (function) |

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

Unset a window option

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.unset_option`](/en/py/latest/reference/libtmux-window-unset_option/) (method) |
| Lua | [`libtmux.Window:unset_option`](/en/lua/latest/reference/libtmux-window-unset_option/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`window.Window.unsetOption`](/en/ts/latest/reference/window-window-unsetoption/) (method) |
| Rust | [`window.Window.unset_option`](/en/rs/latest/reference/window-window-unset_option/) (method) |
| Go | [`tmux.Window.UnsetOption`](/en/go/latest/reference/tmux-window-unsetoption/) (method) |
| Java | reached through `Window.options`, whose `Options` carries the write |
| C# | reached through `Window.Options`, whose `TmuxOptions` carries the write |
| C++ | [`libtmux::Window::unset_option`](/en/cxx/latest/reference/libtmux-window-unset_option/) (method) |
| Swift | [`Server.unsetOption(_:scope:)`](/en/swift/latest/reference/server-unsetoption(_-scope-)/) (method) |
| OCaml | [`Libtmux_unix.Client.unset_option`](/en/ocaml/latest/reference/libtmux_unix-client-unset_option/) (function) |

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

Unset a pane option

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.unset_option`](/en/py/latest/reference/libtmux-pane-unset_option/) (method) |
| Lua | [`libtmux.Pane:unset_option`](/en/lua/latest/reference/libtmux-pane-unset_option/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`pane.Pane.unsetOption`](/en/ts/latest/reference/pane-pane-unsetoption/) (method) |
| Rust | [`pane.Pane.unset_option`](/en/rs/latest/reference/pane-pane-unset_option/) (method) |
| Go | [`tmux.Pane.UnsetOption`](/en/go/latest/reference/tmux-pane-unsetoption/) (method) |
| Java | reached through `Pane.options`, whose `Options` carries the write |
| C# | reached through `Pane.Options`, whose `TmuxOptions` carries the write |
| C++ | [`libtmux::Pane::unset_option`](/en/cxx/latest/reference/libtmux-pane-unset_option/) (method) |
| Swift | [`Server.unsetOption(_:scope:)`](/en/swift/latest/reference/server-unsetoption(_-scope-)/) (method) |
| OCaml | [`Libtmux_unix.Client.unset_option`](/en/ocaml/latest/reference/libtmux_unix-client-unset_option/) (function) |

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