Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Swift API

method libtmux-swift latest

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

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

Source and package
Qualified name
Server.newWindow(_:_:named:startDirectory:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Creation.swift

Description#

  • 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.

tmux command#

The tmux commands behind newWindow(_:_:named:startDirectory:).

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference