# LibTmux::Async::Server::unlink_window

- **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#L73
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-async-server-unlink_window/

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

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

## Methods

## Parameters

- `args`

## tmux command

The tmux commands behind `unlink_window`.

- [`display-message`](/en/tmux/latest/manual/display-message/) (daemon identity or target preflight)
- [`unlink-window`](/en/tmux/latest/manual/unlink-window/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_display_message_entry`](/en/tmux/latest/reference/c-variable-cmd_display_message_entry/) (attribute)
- [`cmd_display_message_exec`](/en/tmux/latest/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function)
- [`cmd_unlink_window_entry`](/en/tmux/latest/reference/c-variable-cmd_unlink_window_entry/) (attribute)
- [`cmd_kill_window_exec`](/en/tmux/latest/reference/c-function-cmd-kill-window-c-cmd_kill_window_exec/) (function)

## In other ports

Unlink a window from a session

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.unlink`](/en/py/latest/reference/libtmux-window-unlink/) (method) |
| Lua | [`libtmux.WindowLink:unlink`](/en/lua/latest/reference/libtmux-windowlink-unlink/) (method) |
| Erlang | [`tmux_window_link:unlink/2`](/en/erlang/latest/reference/tmux_window_link-unlink-2/) (function). Acts on one session-relative membership. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`window.Window.unlink`](/en/ts/latest/reference/window-window-unlink/) (method) |
| Rust | [`window.Window.unlink`](/en/rs/latest/reference/window-window-unlink/) (method) |
| Go | [`tmux.Window.Unlink`](/en/go/latest/reference/tmux-window-unlink/) (method) |
| Java | [`io.github.libtmux.Window.unlink`](/en/java/latest/reference/io-github-libtmux-window-window-unlink/) (method) |
| C# | [`LibTmux.Window.UnlinkAsync`](/en/csharp/latest/reference/libtmux-window-unlinkasync/) (method) |
| C++ | [`libtmux::Window::unlink`](/en/cxx/latest/reference/libtmux-window-unlink/) (method) |
| Swift | [`Server.unlink(_:)`](/en/swift/latest/reference/server-unlink(_-)/) (method) |
| OCaml | [`Libtmux_unix.Client.unlink_window_at`](/en/ocaml/latest/reference/libtmux_unix-client-unlink_window_at/) (function) |

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