Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Window.unlink

Unlink this window from the current session via $ tmux unlink-window.

Source and package
Qualified name
libtmux.Window.unlink
Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/window.py
Other languages
PowerShell Julia Ruby LuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F#

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

tmux command unlink-window

In other ports Unlink a window from a session
Esc

Type to search.

Reference preview Open reference