Window.unlink
Unlink this window from the current session via $ tmux unlink-window.
Source and package
-
Examples#
>>> w = session.new_window(window_name='unlink_test')>>> s2 = server.new_session(session_name='unlink_s2')>>> w.link(s2)>>> linked = [x for x in s2.windows if x.window_name == 'unlink_test']>>> linked[0].unlink()- Parameters
-
-
kill_if_last(bool | None) # – Kill the window if it is the last window in the session (-k).
-
tmux command
unlink-windowIn other ports Unlink a window from a session
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- 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.