class

Smith::UI::ThinkingBlock

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

Constructors

new(started_at : Time::Instant = Time.instant, buffer : String = "", live : Bool = true)
Source

Instance methods

buffer
Source
buffer=(buffer : String)
Source
elapsed
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
started_at
Source