libtmux Reference MCP Search
On this page

io.github.libtmux.Window.Window

View as Markdown

Module
io.github.libtmux.Window
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Window.java
class io.github.libtmux.Window.Window
classreadonly [source]
classreadonly [source]
class io.github.libtmux.Window.Window

One tmux window at one of its positions, as one capture saw it.

<p>Identity is the winlink: the server, the session, the index and the window. A window linked into two sessions is one window and two handles, because tmux orders and addresses those positions separately. #id() stays available for asking whether two links are the same underlying window.

34 declared, 0 inherited

Members

  • active method Whether this was its session's active window when captured.
  • activePane method The pane tmux had active here. A pure read of the capture.
  • applyLayout method Restores an exact arrangement previously read from #layout() .
  • context method The winlink this handle addresses.
  • displayPopup method Shows a popup over this window, running a command in it.
  • equals method
  • expand method Expands a tmux format in this window's context, and answers with what it came to.
  • hashCode method
  • hooks method This window's own hooks, which every link to it shares.
  • id method The underlying window, shared by every link to it.
  • index method Where this link sits in its session.
  • kill method Closes this window.
  • layout method tmux's own serialized layout, which can be handed straight back to select-layout.
  • linked method Whether the underlying window is linked into more than one session.
  • linkTo method Links this window into another session, so one window sits in both.
  • moveTo method Moves this window into another session.
  • name method The window name.
  • nextLayout method Moves to the next built-in layout, as tmux's own binding does.
  • options method This window's own options, which every link to it shares.
  • panes method This link's panes, in tmux's order. A pure read of the capture.
  • refresh method Takes a new capture and returns this winlink as it is now.
  • rename method Renames this window and returns a handle on it as it is now.
  • respawn method Kills what is running in this window and starts it again.
  • rotate method Rotates the panes within this window.
  • select method Makes this the active window of its session.
  • selectLayout method Rearranges this window's panes into one of tmux's built-in layouts.
  • server method The server this window lives on.
  • session method The session this link belongs to. A pure read of the capture.
  • size method How large the window was when captured, in terminal cells.
  • snapshot method
  • split method Splits this window's active pane in half, putting the new one below it.
  • toString method
  • unlink method Removes this link, leaving the window wherever else it is linked.
  • Window method
Esc

Type to search.