class

Ori::InputNode

Inherits Ori::Node < Reference < Object

Constants

BORDER_OFF = "#4A3F6B"
BORDER_ON = "#A78BFA"

Constructors

new(value : String = "", placeholder : String = "", prefix : String = "▌", on_change : Proc(String, Nil) | Nil = nil, on_submit : Proc(Nil) | Nil = nil, style : Ori::S = Ori::S.none)
Source

Instance methods

content_height
Source
content_width
Source
cursor_position
Source
focusable?
Source
on_key(key : Ori::Key) : Bool
Source
render(io : IO) : Nil
Source
render_screen(screen : Ori::Screen) : Nil
Source
value
Source
value=(v : String)
Source