Window
A tmux window at a specific session position, with operations in the effect type F.
Source and package
- Qualified name
-
io.github .libtmux .scaladsl .cats. Window - Package
- io.github.libtmux.scaladsl.cats
- Distribution
- io.github.libtmux:libtmux-scala_3
- Source
- libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/Handles.scala
-
- Type parameters
Members38 members
Parent objects2
Collections and queries1
- panes method This link's panes, in tmux's order.
Common operations1
- split method Splits this window's active pane in half, putting the new one below it.
Other members34
- active method Whether this was its session's active window when captured.
- activePane method The pane tmux had active here.
- applyLayout method Restores an exact arrangement previously read from
#layout. - asJava method The Java handle this wraps: the one escape hatch, as on every handle.
- 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.
- info method The fields this capture stored.
- kill method Closes this window.
- layout method tmux's own layout for this window, in whichever form this server writes it.
- 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.
- previousLayout method Moves to the previous built-in layout, as tmux's own binding does.
- refresh method Takes a new capture and returns this winlink as it is now.
- rename method Renames this window and returns its replacement capture.
- resizeTo method Resizes this window in terminal cells.
- 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.
- size method How large the window was when captured, in terminal cells.
- 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
- unlink method Removes this link, leaving the window wherever else it is linked.
No members of Window match . The filter searches only this type. Search the whole API.
Order: the accessors that walk the hierarchy, the operations the ports share, then the rest.
In other ports
task equivalence 22 other ports mappedSource-verified mappings for A tmux window. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from Scala |
|---|---|---|
| Scala | io A tmux window at a specific session position, with operations in the effect type F. | This page |
| Python | libtmux tmux(1) Window [window_manual]. | None recorded in the model |
| Ruby | Lib | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| PowerShell | Lib Read contextual windows from a server or session. | 2 overloads This cmdlet reads shared .NET LibTmux.Window placements. Use -Server for all sessions or -Session for one session. |
| Julia | Lib | 2 overloads WindowSnapshot holds captured physical-window data. WindowLink records a placement in a session; actions use WindowRef. |
| Erlang | #tmux | A physical window can have several session memberships. window_link holds the session-relative index and active flag. |
| Elixir | Lib An immutable physical window, independent of session membership and index. | Window is a physical window. WindowLink records its session index and active state. |
| Haskell | Lib Detached physical window, independent of its session and index appearances. | Window is a detached physical window, independent of its session placements. WindowLink records each session, index and window binding, and operations take a generation-bound WindowRef. |
| Common Lisp | libtmux: A physical window shared by zero or more captured links. | window is a physical captured window. window-link preserves each session placement. |
| TypeScript | window One window on one tmux server, as a handle rather than a copy of it. | None recorded in the model |
| Rust | window One tmux window, as reached through one session that links it. | None recorded in the model |
| Go | tmux Window is one materialized (session, index, window) winlink record. It is normally returned by Server.Snapshot, Server.Window, or Window.Refresh. A zero Window is not a usable tmux target. | None recorded in the model |
| Java | io One tmux window at one of its positions, as one capture saw it. | readonly |
| Clojure | libtmux Returns the captured window occurrences in a snapshot or session. | Traverses captured window-placement maps without I/O; the window value is a map with an explicit Java reference for effects. |
| Kotlin | io A tmux window at a specific position in a session. | None recorded in the model |
| C# | Lib Represents an immutable window handle and snapshot. | None recorded in the model |
| F# | Lib Identifies window placements and starts queries confined to one window. | This F# module identifies shared .NET LibTmux.Window placements and builds deferred pane queries. Query.list acquires their results from tmux. |
| C++ | libtmux:: One window, as one listing saw it. | None recorded in the model |
| Swift | Window One tmux window, independent of every session that links it. | None recorded in the model |
| OCaml | Libtmux | A global window can have several session placements. Window_link holds the session, index and current flag. |
| Perl | Lib Captured window entity | Physical window identity. WindowLink owns each session/index placement. |
| Raku | Lib Captured physical window; session-relative indices belong to WindowLink. | A physical window may have multiple WindowLink placements, including distinct indexes in one session. |