Smith::UI::ThinkingBlock
Inherits Smith::UI::Block < Reference < Object
Constructors
new(started_at : Time::Instant = Time.instant, buffer : String = "", live : Bool = true)
SourceInstance methods
buffer
Sourcebuffer=(buffer : String)
Sourceelapsed
Sourcefinalized?
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.
lines(width : Int32) : Array(StyledLine)
Sourcelive=(live : Bool)
Sourcelive?
Sourcestarted_at
Source