# LibTmux.Server.unsetOption

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Server.hs#L598
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-server-v-unsetoption/

```haskell
unsetOption :: Server -> OptionTarget -> Text -> IO ()
```

Signature types: [`Server`](/en/haskell/latest/reference/libtmux-server-t-server/), [`OptionTarget`](/en/haskell/latest/reference/libtmux-options-t-optiontarget/), [`Text`](https://hackage.haskell.org/package/text-2.1.3/docs/Data-Text.html#t:Text), [`IO`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:IO).

Remove a local scalar override. For built-ins in a global or server
 store, tmux restores its default.

## Referenced declarations

- [`LibTmux.Options.OptionTarget`](/en/haskell/latest/reference/libtmux-options-t-optiontarget/) (data type)
- [`LibTmux.Server.Server`](/en/haskell/latest/reference/libtmux-server-t-server/) (data type)

## tmux command

The tmux commands behind `unsetOption`.

- [`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)

## Guides

Pages that discuss `unsetOption`.

- [Read and change options and hooks](/en/haskell/latest/guides/options/)
