Pane.readSince
LibTmux.FSharp Reads what the pane printed since a position, and where this read finished.
Source and package
- Module
- LibTmux.FSharp
- Declared in
- Pane
- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Hierarchy.fsi
- F# value signatures Declares the name and type of a value or function in a signature. Language documentation readSince: cancellationToken: Cancellation
Token -> position: PaneOutput option -> pane: LibPosition Tmux -> Task<Pane.Pane Output >Since -
Description#
The core's <c>Pane.ReadOutputSinceAsync</c>. Start with <c>None</c>, which returns no lines and a position; pass each result's <c>Position</c> to the next read. <c>LinesMissed</c> says scrollback dropped output first. This is the MCP server's <c>capture_since</c>.
- Parameters
-
-
cancellationToken ( Cancellation
Token ) -
position ( Pane
Output option )Position -
pane ( Lib
Tmux ).Pane
-
- Raises
-
-
System
.Argument – The position came from another pane.Exception -
Lib
Tmux – The pane runs a different program than when the position was taken, or a read without a position found its program exited..Tmux Pane Exception -
Lib
Tmux – tmux no longer has the pane..Tmux Object Not Found Exception
-
Discussed in Getting started