class

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)
Source

Class methods

style_printer
Source
tmux_version_to_semver(version_string)
Source

Instance methods

build_tmux_output_format(fields)
Source
capture_pane(pane : Pane, join = true)
Source
create_window(name, cmd, _pane_width, _pane_height)
Source
disable_prefix
Source
display_message(msg, delay = 100)
Source
exec(cmd)
Source
find_pane_by_id(id) : Pane | Nil
Source
get_global_option(name)
Source
kill_pane(id)
Source
kill_window(id)
Source
list_panes(filters = "", target = nil) : Array(Pane)
Source
parse_style(style)

TODO

Source
parse_tmux_formatted_output(output, &)
Source
resize_pane(pane_id, width, height)

TODO: this command is version dependant D:

Source
resize_window(window_id, width, height)

TODO: this command is version dependant D:

Source
select_pane(id)
Source
set_buffer(value, use_system_clipboard = true)
Source
set_global_option(name, value)
Source
set_key_table(table)
Source
set_window_option(name, value)
Source
socket_flag_value
Source
style_printer
Source
swap_panes(src_id, dst_id)
Source
tmux
Source
zoom_pane(id)
Source

Nested types