class

Quartz::TUI::Views::LogView

Inherits Reference < Object

In-memory ring buffer log backend + view renderer.

Constants

DEFAULT_CAPACITY = 512

Constructors

new(backend : RingBackend = RingBackend.new)
Source

Instance methods

backend
Source
empty?
Source
render(screen, top_row : Int32, rows : Int32, cols : Int32) : Nil
Source
size
Source
tail(count : Int32) : Array(String)

Returns the last count lines in display order (oldest first).

Source

Nested types