libtmux Reference MCP Search
On this page

window.Window

View as Markdown

Module
window
Package
@libtmux/libtmux
Source
packages/libtmux/src/window.ts
class window.Window
classoverload [source]
classoverload [source]
class window.Window

Discussed in Architecture

36 declared, 0 inherited

Members

  • server attribute The server this handle addresses.
  • windowBrand attribute
  • activePane method The pane tmux marks active in this window.
  • cmd method Run a tmux command this package does not model, addressed at this window.
  • constructor method
  • equals method Whether other is this same window on this same server.
  • kill method Destroy this window, unlinking it from every session it is in.
  • link method Link this window into another session, giving it a second placement.
  • linkedSessions method Every session this window is linked into.
  • move method Move this window to another session or index without selecting it.
  • nextLayout method Apply this window's next layout preset.
  • panes method Panes of this window placement; a linked window keeps each set apart.
  • plan method The same mutations, described instead of run.
  • previousLayout method Apply this window's previous layout preset.
  • refreshed method This window placement, read again at a new instant.
  • removePlacement method Remove this placement, destroying an unshared window but refusing a group.
  • rename method Rename this window.
  • resize method Resize this window, by a direction, to a size, or to what its clients allow.
  • respawn method Restart the command running in this window's active pane.
  • rotate method Rotate the panes within this window.
  • sameTmuxIdAs method Whether other carries the same @n, wherever it came from.
  • select method Make this window active in its session.
  • selectLayout method Apply a named or custom layout.
  • session method The session this placement belongs to.
  • setHook method Bind a tmux command to a window-scoped hook.
  • setOption method Set an option on this window.
  • showHooks method Read hooks set on this window itself.
  • showOptions method Every option set on this window itself, not the ones it inherits.
  • showResolvedOptions method The option values that govern this window, own and inherited together.
  • split method Split this window and resolve the created pane.
  • swapWith method Exchange positions with another window.
  • toString method How this handle renders in a log line, a template literal, or an error.
  • unlink method Remove this placement, leaving the window's other placements intact.
  • unsetHook method Remove every command bound to a window-scoped hook.
  • unsetOption method Remove an option from this window.
  • format property The raw tmux format row, addressed by tmux's own token names.
Esc

Type to search.