Window.link
Link this window to another session via $ tmux link-window.
Source and package
-
Examples#
>>> w = session.new_window(window_name='link_test')>>> s2 = server.new_session(session_name='link_target')>>> w.link(s2)- Parameters
-
-
target_session(str | Session) # – Target session to link the window to. -
target_index(str | None) # – Target window index in the destination session. -
kill_existing(bool | None) # – Kill target window if it exists (-kflag). -
after(bool | None) # – Insert after the target window (-aflag). -
before(bool | None) # – Insert before the target window (-bflag). -
detach(bool | None) # – Do not make the linked window active (-dflag).
-
tmux command
link-windowIn other ports Link a window into another session
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.