Client.create_window
Create detached, rejecting an occupied explicit index.
Source and package
- val create_window : ?index:int -> ?name:string -> ?spawn:Libtmux
.Spawn -> t -> Libtmux.t .Session -> (Libtmux.target .Created , Libtmux.t .Error ) result.t -
Public owner:
Libtmux_eio
tmux command#
The tmux commands behind create_window.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Create a window
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | session |
| Rust | session |
| Go | tmux |
| Java | io |
| Clojure | libtmux |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp or F#.