struct

TUI::Cell

Inherits Struct < Value < Object

A styled string, e.g. one TableView column value or DetailView row's value. style is resolved to an actual ANSI sequence only at render time via CellStyle.apply — the default Style.new renders text plain.

Constructors

new(text : String, style : Style = Style.new)
Source

Instance methods

clone
Source
copy_with(text _text = @text, style _style = @style)
Source
style
text