Tmux
Inherits Reference < Object
Constants
PANE_FORMAT = build_tmux_format({
pane_id: String,
window_id: String,
pane_width: Int32,
pane_height: Int32,
pane_current_path: String,
pane_in_mode: Bool,
scroll_position: Int32 | Nil,
window_zoomed_flag: Bool,
})
TODO make a macro or something
WINDOW_FORMAT = build_tmux_format({
window_id: String,
window_width: Int32,
window_height: Int32,
pane_id: String,
pane_tty: String,
})
Constructors
new(version_string)
SourceClass methods
style_printer
Sourcetmux_version_to_semver(version_string)
SourceInstance methods
build_tmux_output_format(fields)
Sourcecapture_pane(pane : Pane, join = true)
Sourcecreate_window(name, cmd, _pane_width, _pane_height)
Sourcedisable_prefix
Sourcedisplay_message(msg, delay = 100)
Sourceexec(cmd)
Sourcefind_pane_by_id(id) : Pane | Nil
Sourceget_global_option(name)
Sourcekill_pane(id)
Sourcekill_window(id)
Sourcelist_panes(filters = "", target = nil) : Array(Pane)
Sourceparse_tmux_formatted_output(output, &)
Sourceselect_pane(id)
Sourceset_buffer(value, use_system_clipboard = true)
Sourceset_global_option(name, value)
Sourceset_key_table(table)
Sourceset_window_option(name, value)
Sourcesocket_flag_value
Sourcestyle_printer
Sourceswap_panes(src_id, dst_id)
Sourcetmux
Sourcezoom_pane(id)
Source