Server.newWindow(_:_:named:startDirectory:)
Creates a window next to one that already exists and returns its exact appearance.
Source and package
- Qualified name
-
Server.new Window(_: _: named: start Directory:) - Declared in
Server- Package
- libtmux-swift
- Source
- Sources/LibTmux/Creation.swift
- newWindow( placement: Window
Placement , neighbour: WindowLink , named: String?, startDirectory : String? ) -> WindowAppearance -
Description#
- Parameters:
- placement: which side of
neighbourto take. - neighbour: the session-local window link to sit next to. Its session is the one the new window joins.
- name: what to call it. Left out, tmux names it after what runs in it.
- startDirectory: where the window's first pane starts.
- placement: which side of
- Parameters
-
- Raises
- Parameters:
tmux command#
The tmux commands behind newWindow(_:_:named:startDirectory:).
tmux C API#
The C declarations in tmux that implement these commands.