# LibTmux::WindowSnapshot#height

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/snapshot.rb#L148
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-windowsnapshot-height/

```
def height: () -> ::Integer
```

Behavior: Captured records.

Behavior contract: Captured records.

## In other ports

### A window's height in cells

- Python: [`libtmux.Window.height`](/en/py/latest/reference/libtmux-window-height/) (property)
- Lua: [`libtmux.SnapshotWindow.height`](/en/lua/latest/reference/libtmux-snapshotwindow-height/) (attribute)
- Rust: [`window.Window.height`](/en/rs/latest/reference/window-window-height/) (method)
- Go: [`tmux.Window.Height`](/en/go/latest/reference/tmux-window-height/) (method)
- C#: [`LibTmux.Window.Height`](/en/csharp/latest/reference/libtmux-window-height/) (property)
- C++: [`libtmux::Window::height`](/en/cxx/latest/reference/libtmux-window-height-d46i/) (method)
- Swift: [`Window.height`](/en/swift/latest/reference/window-height/) (property)
