libtmux Reference MCP Search
On this page

Server.newWindow(_:_:named:startDirectory:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Creation.swift
newWindow(_:_:named:startDirectory:) ( placement : WindowPlacement , neighbour : WindowLink , named : String? , startDirectory : String? ) WindowAppearance
methodasync [source]
methodasync [source]
newWindow(_:_:named:startDirectory:)

Creates a window next to one that already exists and returns its exact appearance.

  • Parameters:
    • placement: which side of neighbour to 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.
Raises

0 declared, 0 inherited

Esc

Type to search.