function tmux latest
spawn_window
spawn_window
spawn_window Source
- Source
- spawn.c
- struct winlink * spawn
_window (struct spawn_context *sc, char **cause) -
- Parameters
-
-
sc ( struct spawn
_context * ) -
cause ( char ** )
-
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
- cmd_new_session_exec
- calls → spawn_window
- calls → spawn_pane
- calls → window_add_pane
- calls → window_pane_create
Called by#
- cmd_new_session_exec function Call site ↗
- cmd_respawn_window_exec function Call site ↗
Calls#
- default_window_name function Call site ↗
- default_window_size function Call site ↗
- layout_free function Call site ↗
- layout_init function Call site ↗
- notify_session_window function Call site ↗
- options_set_number function Call site ↗
- session_group_synchronize_from function Call site ↗
- session_select function Call site ↗
- spawn_log function Call site ↗
- spawn_pane function Call site ↗
- window_destroy_panes function Call site ↗
- window_set_active_pane function Call site ↗
- winlink_find_by_index function Call site ↗
- winlink_remove function Call site ↗
- winlink_set_window function Call site ↗
- winlink_stack_remove function Call site ↗
- xasprintf function Call site ↗
- xstrdup function Call site ↗
Other function references#
- options_get_number function
- window_create function
- winlink_add function
Referenced by#
- cmd_new_window_exec function
Referenced declarations#
- window.active attribute
- session.curw attribute
- winlink.entry attribute
- window_pane.fd attribute
- spawn_context.flags attribute
- winlink.flags attribute
- spawn_context.idx attribute
- winlink.idx attribute
- session.lastw attribute
- window.latest attribute
- session.name attribute
- spawn_context.name attribute
- window.name attribute
- session.options attribute
- window.options attribute
- window.panes attribute
- spawn_context.s attribute
- winlink.session attribute
- spawn_context struct
- SPAWN_DETACHED constant
- SPAWN_KILL constant
- SPAWN_NONOTIFY constant
- SPAWN_RESPAWN constant
- window.sx attribute
- window.sy attribute
- spawn_context.tc attribute
- winlink.window attribute
- session.windows attribute
- winlink struct
- WINLINK_ALERTFLAGS constant
- spawn_context.wl attribute
- spawn_context.wp0 attribute