ITerminalOutput
ConsoleMonster.Rendering
Turns frames and lines into output for one mode: VT (diffed live frames, alternate screen), Stream (append-only lines, optional colour) or Plain (ASCII lines, no colour). Not thread-safe: a live session serializes calls from its render thread and the stopping caller's final drain and restoration.
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property LiveSessionOptions.Output
- Property LogTailOptions.Output
- Method Terminal.CreateInlineOutput
- Method Terminal.CreateOutput
Accepted by parameters 4
- Extension method LiveSessionOptions.Output
- Method LiveSessionOptionsFluent.Output
- Extension method LogTailOptions.Output
- Method LogTailOptionsFluent.Output
Methods
public abstract void BeginLive() #Starts live rendering (VT: alternate screen, hidden cursor). No effect for line-based outputs.
public abstract void EndLive() #Ends live rendering and restores the terminal (cursor, screen, attributes). Safe to call more than once.
public abstract void Invalidate() #Forces the next frame to be redrawn completely (after a resize or external output).
public abstract void RenderFrame(CellBuffer frame) #Draws a full-screen frame, writing only the cells that changed since the previous frame.
Parameters
- frame ConsoleMonster.Canvas.CellBuffer
- The frame; its size is the screen size.
public abstract void WriteBlock(CellBuffer buffer) #Appends a rendered block (print-once output) to the scrollback.
Parameters
- buffer ConsoleMonster.Canvas.CellBuffer
- The rendered block; trailing blank cells on each row are trimmed.
public abstract void WriteInline(StyledLine line) #Writes one styled line without ending it (Write-ConsoleText -NoNewLine); the next write continues on it.
Parameters
- line ConsoleMonster.Text.StyledLine
- The line.
public abstract void WriteLine(StyledLine line) #Appends one styled line (stream narration, captured output, summaries).
Parameters
- line ConsoleMonster.Text.StyledLine
- The line.