Client.link_window
Add a session-specific link to the global window at index, rejecting an occupied index. The source window and its panes stay shared.
Source and package
- Qualified name
-
Libtmux_unix .Client. link _window - Module
- Libtmux_unix
- Declared in
Client- Package
- libtmux-unix
- Source
- unix/libtmux_unix.mli
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F# Clojure
- val link_window : ?cancel:Cancellation
.t -> t -> Libtmux.Window -> session:Libtmux.target .Session -> index:int -> (unit, Libtmux.target .Error ) result.t -
Public owner:
Libtmux_unix- Parameters
-
tmux command#
The tmux commands behind link_window.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Link a window into another session
| 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 | window |
| Rust | window |
| Go | tmux |
| Java | 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, Clojure, Kotlin, Scala or F#.