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

View as Markdown

Module
io.github.libtmux.Session
Declared in
Session
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Session.java
Other languages
PythonRubyLuaTypeScriptRustGo.NETC++Swift
newWindow ( name : String ) → Window ( configure : Consumer<WindowSpec.Builder> ) → Window ( spec : WindowSpec ) → Window
methodoverload3 overloads [source]
methodoverload3 overloads [source]
newWindow

Creates a window in this session and returns that exact window.

The creating command reports which window it made, rather than the name being looked up afterwards: two windows may share a name, and then a lookup cannot say which one is new.

Returns

a handle on the created window, from a fresh capture

Raises
In other ports Create a window

0 declared, 0 inherited

Esc

Type to search.