Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

Python API

method libtmux stable

Pane.resize

Resize tmux pane.

Source and package
Qualified name
libtmux.Pane.resize
Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
PowerShell Julia RubyLuaTypeScriptRustGoJavaC# C++ Swift Kotlin Scala F#
resize
( 13 parameters ) ( self, # Adjustments, adjustment_direction: ResizeAdjustmentDirection | None = None, adjustment: int | None = None, # Manual, height: str | int | None = None, width: str | int | None = None, # Zoom, zoom: bool | None = None, # Mouse, mouse: bool | None = None, # Optional flags, trim_below: bool | None = None, )
→ Pane

Description#

Notes

Three types of resizing are available:

  1. Adjustments: adjustment_direction and adjustment.
  2. Manual resizing: height and / or width.
  3. Zoom / Unzoom: zoom.
Parameters
Returns

Pane

Raises

tmux command resize-pane

In other ports Resize a pane
Esc

Type to search.

Reference preview Open reference