# LibTmux::Model::Session.current-link

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Model.rakumod#L914
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-session-current-link/

```
method current-link(--> WindowLink:D)
```

The session-relative active window placement in this observation.

The session-relative active window placement in this observation.

## In other ports

The session's active window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Session.active_window`](/en/py/latest/reference/libtmux-session-active_window/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`session.Session.activeWindow`](/en/ts/latest/reference/session-session-activewindow/) (method) |
| Rust | [`session.Session.active_window`](/en/rs/latest/reference/session-session-active_window/) (method) |
| Go | [`tmux.Session.ActiveWindow`](/en/go/latest/reference/tmux-session-activewindow/) (method) |
| Java | [`io.github.libtmux.Session.activeWindow`](/en/java/latest/reference/io-github-libtmux-session-session-activewindow/) (method) |
| C# | [`LibTmux.Session.ActiveWindow`](/en/csharp/latest/reference/libtmux-session-activewindow/) (property) |
| C++ | [`libtmux::Session::active_window`](/en/cxx/latest/reference/libtmux-session-active_window/) (method) |
| Swift | no accessor; `Pane.isActive` is a flag on the pane, so the active one is found by filtering a listing |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | Select the active captured WindowLink, then resolve its physical window. |

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