Pane.ReadOutputSinceAsync
Reads what the pane has printed since a position, and where this read finished.
Source and package
- Qualified name
-
LibTmux .Pane. Read Output Since Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Capture.cs
- async Task<Pane
Output > ReadOutputSinceAsync( PaneSince Output ? position = null, CancellationPosition Token cancellationToken = default ) -
Description
A read captures what is new rather than everything the pane holds, so it costs about the same however long the pane has been printing, until history nears
history-limit: a read then captures all of it to find its place. Lines a program rewrote in place, such as a progress bar or a prompt redraw, are reported again when they change. A pane whose program has exited reads as it stands.- Parameters
-
-
position(PaneOutput ?) – Where the last read finished, or null to start from what the pane shows now.Position Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux commands.Default
default
-
- Returns
-
The new lines and the position to pass next time; a read without a position returns none.
- Errors
-
-
Argument
Exception – The position came from another pane. -
Tmux
Object – tmux no longer has the pane.Not Found Exception -
Tmux
Pane – The pane runs a different program than when the position was taken, its program has exited, or it changed during every read attempt.Exception
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.ReadOutputSinceAsync.