# LibTmux::WindowSnapshot#height

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/d8ce4bbee0ca7748a81929f81f7d8d07f8c51267/gems/libtmux/lib/libtmux/snapshot.rb#L148
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.3/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)
