io.github.libtmux.Session.Session.newWindow
- 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
-
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
-
-
UnsupportedTmuxVersionException – if the spec asks for something this server does not have
-
In other ports Create a window
- Python
libtmux.Session.new_window - Ruby
LibTmux::Session#new_window - Lua
libtmux.Session:new_window - TypeScript
session.Session.newWindow - Rust
session.Session.new_window - Go
tmux.Session.NewWindow - .NET
LibTmux.Session.CreateWindowAsync - C++
libtmux::Session::new_window - Swift
Server.newWindow(in:named:startDirectory:)
0 declared, 0 inherited