tmuxr (version 0.2.4)

object_size: Width and height of a tmux object

Description

Functions to get and set the width and height of a tmux session, window, and pane.

Usage

width(target)

width(target) <- value

set_width(target, value)

height(target)

height(target) <- value

set_height(target, value)

Arguments

target

A tmuxr_session, tmuxr_window, or tmuxr_pane.

value

An integer.

Value

An integer. The new width or height.

See Also

resize_window(), resize_pane()