libtmux Reference MCP Search
On this page

window.inThisSession

View as Markdown

Module
window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
inThisSession ( window : : Window , options : : MoveWindowOptions ) MoveWindowOptions
function [source]
function [source]
inThisSession

Fill in the destination session the caller left out.

tmux reads a destination of :3 as index 3 of the *current* session, which is whichever one it happens to consider current — not this window's. Naming the window's own is what makes "the window stays in its own session when omitted" true, and it is the only reading under which omitting the session is a smaller request rather than a different one.

0 declared, 0 inherited

Esc

Type to search.