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

Python API

Python documentation

libtmux.Window.resize

View as Markdown

Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/window.py
Other languages
RubyLuaTypeScriptRustGoJava.NETC++ Swift
resize
( 10 parameters ) ( self , # Adjustments , adjustment_direction : ResizeAdjustmentDirection | None = None , adjustment : int | None = None , # Manual , height : int | None = None , width : int | None = None , # Expand / Shrink , expand : bool | None = None , shrink : bool | None = None )
→ Window
method [source]
method [source]
resize

Resize tmux window.

Parameters
  • adjustment_direction ( ResizeAdjustmentDirection | None ) – direction to adjust, Up, Down, Left, Right.

  • height ( int | None ) – resize-window -y dimensions

  • width ( int | None ) – resize-window -x dimensions

  • expand ( bool | None ) – expand window

  • shrink ( bool | None ) – shrink window

Returns

Window

Raises
In other ports Resize a window

0 declared, 0 inherited

Esc

Type to search.