On this page
libtmux.Window.link
- Module
- libtmux
- Declared in
- Window
- Package
- libtmux
- Source
- src/libtmux/window.py
-
Link this window to another session via
$ tmux link-window.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).
-
0 declared, 0 inherited