Method PrintAboveAsync
PrintAboveAsync(IReadOnlyList<InlineOutputLine>, SessionToken?, CancellationToken)
Queues literal styled lines for the next eligible rendering boundary.
Task PrintAboveAsync(IReadOnlyList<InlineOutputLine> lines, SessionToken? owner, CancellationToken cancellationToken = default)
Parameters
linesIReadOnlyList<InlineOutputLine>Logical lines; an empty list emits nothing.
ownerSessionTokenOptional session whose end cancels pending output.
cancellationTokenCancellationTokenCancels before output is claimed.
Returns
- Task
Completion after insertion and origin publication, or cancellation or a failure.
Remarks
Requires an initialized inline application using ANSI output. All calls queue, including UI-thread calls. Success means insertion bytes were accepted; it does not guarantee durable scrollback or live-frame delivery. Once claimed, cancellation cannot interrupt insertion. A partial I/O failure is never automatically retried.