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

Window.resize

Resize tmux window.

Source and package
Qualified name
libtmux.Window.resize
Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/window.py
Other languages
PowerShell Julia RubyLuaTypeScriptRustGoJavaC#C++ Swift Kotlin Scala F#
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

Description#

Notes

Three types of resizing are available:

  1. Adjustments: adjustment_direction and adjustment.
  2. Manual resizing: height and / or width.
  3. Expand or shrink: expand or shrink.
Parameters
Returns

Window

Raises

tmux command resize-window

In other ports Resize a window
Esc

Type to search.

Reference preview Open reference