Core LibraryunreleasedAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function LibTmux.jl

split_window

Source and package
Qualified name
LibTmux.split_window
Module
LibTmux
Package
LibTmux
Source
src/operations.jl

Methods

split_window( connection::LibTmux.ControlConnection, target::LibTmux.PaneRef; direction, command, shell_command, start_directory, size, environment, kwargs..., )[source]

Split an exact pane through its existing connection; return a strict PaneRef. Direction, size, command, directory and environment options match the subprocess method. Reply framing, cancellation and uncertain creation outcomes follow the control new_window method. No implicit pane selection or fallback is allowed.

split_window(connection::ControlConnection, pane::PaneRef; kwargs...)

split_window( server::LibTmux.Server, target::LibTmux.PaneRef; direction, command, shell_command, start_directory, size, environment, kwargs..., )[source]

Split the target pane in :right, :left, :below or :above; return a PaneRef. size is a positive cell count. Command, directory, deadline and strictness options follow new_session. Identity checks are best effort. A changed identity in the reply raises CreationResponseError without retry or cleanup.

split_window(server, target::PaneRef; direction=:below, size=nothing, kwargs...)

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.split_window.

tmux command

task material

The tmux commands behind split_window.

tmux C API

task material

The C declarations in tmux that implement these commands.

Each path starts at a function a command runs, which is degree 1. The degree counts steps from there along the path, and each step is a call or a reference: degree 2 is reached from that function, degree 3 from the next, and so on.

Split a window

  1. 1 cmd_split_window_exec
  2. references → 2 spawn_pane
  3. calls → 3 window_add_pane
  4. calls → 4 window_pane_create
Esc
Search in

Type to search.

Reference previewOpen reference