tmux C source reference
C declarations from tmux 3.2a. These are tmux internals, not a supported external library API.
Paths through the source#
Follow these functions to explore a task. Arrows show source relationships.
Create a session and its first pane
- cmd_new_session_exec
- calls → spawn_window
- calls → spawn_pane
- calls → window_add_pane
- calls → window_pane_create
Split a window
- cmd_split_window_exec
- references → spawn_pane
- calls → window_add_pane
- calls → window_pane_create
Start the server and create a client
- server_start
- calls → server_client_create
- calls → proc_add_peer