- Module
- LibTmux
- Declared in
- Pane
- Package
- LibTmux
- Source
- src/LibTmux/Pane.Capture.cs
- Other languages
- PythonRubyLuaTypeScriptRustGoJavaC++Swift
- CaptureAsync ( request : CapturePaneRequest? , cancellationToken : CancellationToken ) Task<IReadOnlyList<string>>
-
Reads the pane's contents.
- Parameters
-
-
request ( CapturePaneRequest? ) – What to capture.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
The captured lines.
Discussed in Capture pane output · Capturing output
In other ports Read a pane’s visible contents
- Python
libtmux.Pane.capture_pane - Ruby
LibTmux::Pane#capture - Lua
libtmux.Pane:capture - TypeScript
pane.Pane.capture - Rust
pane.Pane.capture - Go
tmux.Pane.Capture - Java
io.github.libtmux.Pane.Pane.capture - C++
libtmux::Pane::capture - Swift
Server.capture(_:includingHistory:)
0 declared, 0 inherited