object_size: Width and height of a tmux object

object_sizeR Documentation

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.

Note

The size of a tmuxr_pane can only be changed if there are other panes in the same window.

See Also

resize_window(), resize_pane()


datascienceworkshops/tmuxr documentation built on April 26, 2024, 5:26 a.m.