ConstantsΒΆ

Constant variables for libtmux.

class libtmux.constants.ResizeAdjustmentDirection
ΒΆ
class libtmux.constants.ResizeAdjustmentDirection
ΒΆ

Bases: Enum

Used for adjustment in resize_window, resize_pane.

class libtmux.constants.WindowDirection
ΒΆ
class libtmux.constants.WindowDirection
ΒΆ

Bases: Enum

Used for adjustment in Session.new_window().

class libtmux.constants.PaneDirection
ΒΆ
class libtmux.constants.PaneDirection
ΒΆ

Bases: Enum

Used for adjustment in Pane.split().

class libtmux.constants._DefaultOptionScope
ΒΆ
class libtmux.constants._DefaultOptionScope
ΒΆ

Bases: object

Sentinel meaning β€œwhichever scope tmux would use”.

Distinct from passing no scope at all: this is the default value of the scope parameter, and a call carrying it sends no scope flag. tmux then resolves the option itself, which for a pane option means falling back to the window’s and then to the global window options.

class libtmux.constants.OptionScope
ΒΆ
class libtmux.constants.OptionScope
ΒΆ

Bases: Enum

Scope used with set-option and show-option(s) commands.