tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_split_window_exec

Source
Qualified name
cmd_split_window_exec
Source
cmd-split-window.c
static enum cmd_retval cmd_split_window_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command new-pane, split-window

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_new_pane_entry and cmd_split_window_entry, which reference it as a function pointer (a reference, not a call).

Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_split_window_exec.

Paths through the source

source calls

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

Split a window

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

Calls

source calls 31

Declarations cmd_split_window_exec calls directly.

Other function references

references 2

Functions cmd_split_window_exec takes as a pointer or callback. It does not call them.

Referenced by

references 2

Declarations that take cmd_split_window_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 36

Types and data cmd_split_window_exec names in its declaration.

In libtmux

These methods send new-pane.

Library methods that send tmux new-pane, by scope
Language Methods
Python Pane.new_pane Window.new_pane
Go Pane.NewPane Window.NewPane
C# Pane.CreatePaneAsync Window.CreatePaneAsync
Raku PaneRef.new-floating

No method in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Haskell, Common Lisp, TypeScript, Rust, Java, Clojure, Kotlin, Scala, F#, C++, Swift, OCaml, or Perl sends this command itself.

These methods send split-window.

Esc

Type to search.

Reference previewOpen reference