Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.Pane.zoom

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
zoom ( options : : CommandOptions ) → Promise<void>
method [source]
method [source]
zoom

Make this pane fill its window, whatever it was doing before.

Idempotent, and one tmux command: tmux offers only a toggle, so this asks tmux to evaluate #{window_zoomed_flag} and toggle in the same invocation rather than reading the flag here and racing the answer. window.zoomedFlag reports the state a snapshot saw.

Examples

await pane.zoom();

0 declared, 0 inherited

Esc

Type to search.