class libtmux-dotnet latest
Window
Represents an immutable window handle and snapshot.
Source and package
-
Description#
Thread-safe: the handle is immutable once constructed and may be shared freely, including as a singleton. Every mutating call answers a new handle rather than changing this one.
Discussed in Ownership and cleanup , Traversal
In other ports A tmux window
- Python
libtmux.Window - Ruby
LibTmux::Window - Lua
libtmux.Window - TypeScript
window.Window - Rust
window.Window - Go
tmux.Window - Java
io.github.libtmux.Window - C++
libtmux::Window - Swift
Window - Kotlin
io.github.libtmux.kotlin.Window - Scala
io.github.libtmux.scaladsl.Window - F# No source-verified F# equivalent is recorded for this operation.
- Python
Members54 members#
Parent objects2 members#
Collections and queries3 members#
- Panes property Gets the panes the capture found in this window.
- GetPanesAsync method Reads this window's panes from tmux.
- SearchPanesAsync method Runs a tmux-side filter over this window's panes.
Common operations29 members#
- SplitPaneAsync method Splits a pane in this window.
- SelectLayoutAsync method Applies a layout to this window.
- KillAsync method Stops this window.
- RenameAsync method Renames this window.
- LinkAsync method Links this window into another session.
- UnlinkAsync method Removes this window's link to the session it was read through.
- SelectAsync method Selects this window in its session.
- Options property Gets the options of this window.
- Id property Gets the window identifier.
- Name property Gets the window name captured with this handle.
- ResizeAsync method Resizes this window.
- MoveAsync method Moves this window to another index or session.
- RotateAsync method Rotates the panes in this window.
- Hooks property Gets the hooks of this window.
- Height property Gets the window height captured with this handle.
- Width property Gets the window width captured with this handle.
- SelectNextLayoutAsync method Moves to the next layout.
- RespawnAsync method Restarts the command running in this window.
- SwapAsync method Swaps this window with another.
- ActivePane property Gets the captured active pane, or an uncaptured relation.
- Index property Gets the index this window holds in its session.
- RefreshAsync method Re-reads this window from tmux.
- SelectPreviousLayoutAsync method Moves to the previous layout.
- SelectLastPaneAsync method Selects the pane that was last active.
- LinkedSessions property Gets the sessions the capture found this window linked into.
- DisplayMessageAsync method Shows a message on the client viewing this window.
- SelectPaneAsync method Selects a pane in this window.
- FromEnvironmentAsync method Returns the window holding the pane this process runs in.
- FindPaneAsync method Reads one pane in this window.
Other members20 members#
- Active property Gets whether this is the current window of the session it was read through.
- ActivityAlert property Gets whether the window printed since it was last the current window.
- BellAlert property Gets whether a bell rang in the window since it was last the current window.
- CreatePaneAsync method Creates a floating pane in this window.
- CreateWindowAsync method Creates a window next to this one.
- Edge property Gets where this window sits in the session it was read from.
- EntityKey property Gets the session, window and index this handle names together.
- Equals method
- ExecuteCommandAsync method Executes one raw tmux command against this window.
- Flags property Gets the window's flags as its status line shows them, such as
*for the current window. - Generation property Gets the server generation captured with this window.
- GetActivePaneAsync method Reads from tmux this window's active pane.
- GetHashCode method
- GetLinkedSessionsAsync method Reads every session this window is linked into.
- GetPaneAsync method Reads one pane in this window, throwing when it is absent.
- IsActive property Gets whether this captured placement is the selected window in its session.
- Layout property Gets the layout string captured with this handle.
- RawFormatFields property Gets the tmux fields captured when this handle materialized.
- SilenceAlert property Gets whether the window has been silent for
monitor-silenceseconds. - Zoomed property Gets whether one of the window's panes is zoomed to fill it.