class

Smith::UI::AssistantBlock

Inherits Smith::UI::Block < Reference < Object

Constructors

new(buffer : String = "", live : Bool = true)
Source

Instance methods

buffer
Source
buffer=(buffer : String)
Source
finalized?

Whether the block has stopped changing, and can therefore be printed into the scrollback once and never redrawn. Most blocks arrive finished; the streaming ones say when they are done.

Source
lines(width : Int32) : Array(StyledLine)
Source
live=(live : Bool)
Source
live?
Source