class

Opal::UI::DiffRenderer

Inherits Reference < Object

High-performance double-buffered differential terminal renderer. Emits minimal ANSI escape sequences by diffing the current frame against the previous frame.

Constructors

new(driver : Terminal::Driver | Nil = nil)
Source

Instance methods

driver
Source
driver=(driver : Terminal::Driver)
Source
invalidate!

Invalidates the previous buffer cache, forcing the next render frame to perform a complete full-screen redraw with line clearing.

Source
render(buffer : Buffer) : Nil

Renders a buffer frame using differential cell comparisons.

Source