libtmux:new-window
Create a physical window in captured SESSION and return a COMMAND-OUTCOME. NAME and CWD are literal strings. INDEX chooses a free link index; omission uses tmux's next available index. DETACHED defaults true. ENVIRONMENT is a list/vector of (name . value) string pairs. COMMAND is nonempty argv; SHELL-COMMAND is a separate, mutually exclusive shell string. Omit both for tmux's default shell. OUTCOME-VALUE supplies the resulting window; observation failure is separate. Never replaces an occupied index or retries a mutation. Limits cover all I/O.
Source and package
- Qualified name
-
libtmux:new-window - Declared in
libtmux- Package
- libtmux
- Source
- src/creation.lisp
-
Public owner:
libtmux
tmux command#
The tmux commands behind new-window.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss new-window.