# LibTmux.Snapshot.Window

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Graph.hs#L86
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-snapshot-t-window/

```haskell
data Window
```

Detached physical window, independent of its session and index appearances.

## Instances

- instance [NFData](https://hackage.haskell.org/package/deepseq-1.5.1.0/docs/Control-DeepSeq.html#t:NFData) [`Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Graph.hs#L93))

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Graph.hs#L92))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/internal/LibTmux/Internal/Graph.hs#L92))

## Members

### Other members

- [`height`](/en/haskell/latest/reference/libtmux-snapshot-v-window-height/) (record field): Positive terminal height in cells.
- [`name`](/en/haskell/latest/reference/libtmux-snapshot-v-window-name/) (record field): Reported bytes, including non-text names on older tmux.
- [`ref`](/en/haskell/latest/reference/libtmux-snapshot-v-window-ref/) (record field): Shared identity across this snapshot's window links.
- [`width`](/en/haskell/latest/reference/libtmux-snapshot-v-window-width/) (record field): Positive terminal width in cells.
- [`Window`](/en/haskell/latest/reference/libtmux-snapshot-v-window/) (data constructor)

## Referenced declarations

- [`LibTmux.Snapshot.Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/) (data type)

## In other ports

A tmux window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window`](/en/py/latest/reference/libtmux-window/) (class) |
| Ruby | [`LibTmux::Window`](/en/ruby/latest/reference/libtmux-window-1vfx/) (class) |
| Lua | [`libtmux.Window`](/en/lua/latest/reference/libtmux-window/) (class) |
| PowerShell | [`LibTmux\Get-TmuxWindow`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/) (cmdlet). This cmdlet reads shared .NET `LibTmux.Window` placements. Use [`-Server`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/#LibTmux%5CGet-TmuxWindow.parameter.Server) for all sessions or [`-Session`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/#LibTmux%5CGet-TmuxWindow.parameter.Session) for one session. |
| Julia | [`LibTmux.WindowSnapshot`](/en/julia/latest/reference/libtmux-windowsnapshot/) (struct). `WindowSnapshot` holds captured physical-window data. `WindowLink` records a placement in a session; actions use `WindowRef`. |
| Erlang | [`#tmux_model:window{}`](/en/erlang/latest/reference/tmux_model-window/) (struct). A physical window can have several session memberships. `window_link` holds the session-relative index and active flag. |
| Elixir | [`LibTmux.Window`](/en/elixir/latest/reference/libtmux-window/) (struct). `Window` is a physical window. `WindowLink` records its session index and active state. |
| Common Lisp | [`libtmux:window`](/en/lisp/latest/reference/libtmux-window-type/) (class). `window` is a physical captured window. `window-link` preserves each session placement. |
| TypeScript | [`window.Window`](/en/ts/latest/reference/window-window/) (class) |
| Rust | [`window.Window`](/en/rs/latest/reference/window-window/) (struct) |
| Go | [`tmux.Window`](/en/go/latest/reference/tmux-window/) (struct) |
| Java | [`io.github.libtmux.Window`](/en/java/latest/reference/io-github-libtmux-window-window/) (class) |
| Clojure | [`libtmux.data/windows`](/en/clojure/latest/reference/libtmux-data-windows/) (function). Traverses captured window-placement maps without I/O; the window value is a map with an explicit Java reference for effects. |
| Kotlin | [`io.github.libtmux.kotlin.Window`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-window/) (class) |
| Scala | [`io.github.libtmux.scaladsl.Window`](/en/scala/latest/reference/io-github-libtmux-scaladsl-window/) (typealias) |
| C# | [`LibTmux.Window`](/en/csharp/latest/reference/libtmux-window/) (class) |
| F# | [`LibTmux.FSharp.Window`](/en/fsharp/latest/reference/libtmux-fsharp-window/) (module). This F# module identifies shared .NET `LibTmux.Window` placements and builds deferred pane queries. `Query.list` acquires their results from tmux. |
| C++ | [`libtmux::Window`](/en/cxx/latest/reference/libtmux-window/) (class) |
| Swift | [`Window`](/en/swift/latest/reference/window/) (struct) |
| OCaml | [`Libtmux.Window.t`](/en/ocaml/latest/reference/libtmux-window-t/) (typealias). A global window can have several session placements. Window_link holds the session, index and current flag. |
| Perl | [`LibTmux::Window`](/en/perl/latest/reference/libtmux-window/) (class). Physical window identity. WindowLink owns each session/index placement. |
| Raku | [`LibTmux::Model::Window`](/en/raku/latest/reference/libtmux-model-window/) (class). A physical window may have multiple WindowLink placements, including distinct indexes in one session. |
