- Module
- io.github.libtmux.Window
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Window.java
- Other languages
- PythonRubyLuaTypeScriptRustGo.NETC++Swift
-
One tmux window at one of its positions, as one capture saw it.
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.Discussed in Architecture
In other ports A tmux window
- Python
libtmux.Window - Ruby
LibTmux::Window - Lua
libtmux.Window - TypeScript
window.Window - Rust
window.Window - Go
tmux.Window - .NET
LibTmux.Window - C++
libtmux::Window - Swift
Window
- Python
38 declared, 0 inherited
Members
- panes method This link's panes, in tmux's order. A pure read of the capture.
- selectLayout method Rearranges this window's panes into one of tmux's built-in layouts.
- kill method Closes this window.
- rename method Renames this window and returns its replacement capture.
- linkTo method Links this window into another session, so one window sits in both.
- split method Splits this window's active pane in half, putting the new one below it.
- unlink method Removes this link, leaving the window wherever else it is linked.
- select method Makes this the active window of its session.
- options method This window's own options, which every link to it shares.
- id method The underlying window, shared by every link to it.
- name method The window name.
- resizeTo method Resizes this window in terminal cells.
- moveTo method Moves this window into another session.
- rotate method Rotates the panes within this window.
- hooks method This window's own hooks, which every link to it shares.
- nextLayout method Moves to the next built-in layout, as tmux's own binding does.
- respawn method Kills what is running in this window and starts it again.
- session method The session this link belongs to. A pure read of the capture.
- activePane method The pane tmux had active here. A pure read of the capture.
- index method Where this link sits in its session.
- refresh method Takes a new capture and returns this winlink as it is now.
- active method Whether this was its session's active window when captured.
- layout method tmux's own layout for this window, in whichever form this server writes it.
- server method The server this window lives on.
- linked method Whether the underlying window is linked into more than one session.
- 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
- previousLayout method Moves to the previous built-in layout, as tmux's own binding does.
- size method How large the window was when captured, in terminal cells.
- snapshot method
- stopSynchronizingPanes method Stops copying input between this window's panes.
- synchronizePanes method Copies input to one pane into every pane in this window, until
#stopSynchronizingPanes. - toString method
- Window method