Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Swift API

Swift documentation

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

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

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.