tmuxtmuxC source reference

Choose documentation 1

3.2a

tmux source version

Latest (3.7c) 3.7c 3.2a
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function tmux 3.2a

window_add_pane

window_add_pane window_add_pane

View as Markdown

Source
Source
window.c
struct window_pane * window_add_pane(struct window *w, struct window_pane *other, u_int hlimit, int flags)
function [source]
Parameters
  • w ( struct window * )

  • other ( struct window_pane * )

  • hlimit ( u_int )

  • flags ( int )

Call neighborhood#

Recorded direct calls in this source version. Callback references appear separately below.

Paths through the source#

Follow these functions to explore a task. Arrows show source relationships.

Create a session and its first pane

  1. cmd_new_session_exec
  2. calls → spawn_window
  3. calls → spawn_pane
  4. calls → window_add_pane
  5. calls → window_pane_create

Split a window

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

Called by#

Calls#

Referenced by#

Referenced declarations#

Esc

Type to search.