struct

Bubbles::Textarea::Line

Inherits Bubbles::Internal::Memoization::Hasher < Struct < Value < Object

line is the input to the text wrapping function. This is stored in a struct so that it can be hashed and memoized. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:235

Constructors

new(runes : Array(Char), width : Int32)
Source

Instance methods

hash

Hash returns a hash of the line. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:241

Source
memo_hash

memo_hash returns a hash for memoization.

Source
runes
Source
runes=(runes : Array(Char))
Source
width
Source
width=(width : Int32)
Source