# LibTmux::PaneSnapshot#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-panesnapshot-height/

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

Behavior: Captured records.

Behavior contract: Captured records.

## In other ports

### A pane's height in cells

- Python: [`libtmux.Pane.height`](/en/py/latest/reference/libtmux-pane-height/) (property)
- Lua: [`libtmux.SnapshotPane.height`](/en/lua/latest/reference/libtmux-snapshotpane-height/) (attribute)
- Rust: [`pane.Pane.height`](/en/rs/latest/reference/pane-pane-height/) (method)
- Go: [`tmux.Pane.Height`](/en/go/latest/reference/tmux-pane-height/) (method)
- C#: [`LibTmux.Pane.Height`](/en/csharp/latest/reference/libtmux-pane-height/) (property)
- C++: [`libtmux::Pane::height`](/en/cxx/latest/reference/libtmux-pane-height-l0kt/) (method)
- Swift: [`Pane.height`](/en/swift/latest/reference/pane-height/) (property)
