libtmux Reference MCP Search
On this page

builder.windowAt

View as Markdown

Module
builder
Package
@libtmux/libtmux
Source
packages/workspace/src/builder.ts
windowAt ( session : : Session , index : : number , desired : : WorkspaceWindow , workspace : : Workspace ) Promise<{ readonly created: boolean; readonly window: Window }>
functionasync [source]
functionasync [source]
windowAt

The window that should hold position index, created if it is not there yet.

tmux window indexes are not positions — base-index shifts them and a killed window leaves a gap — so position is resolved by ordinal, not by index.

0 declared, 0 inherited

Esc

Type to search.