gleamtea/textarea
A bubble: a multi-line text area.
Types
Values
pub fn cursor(area: TextArea) -> #(Int, Int)
The caret position as #(row, col) (both 0-based).
pub fn new(
height height: Int,
placeholder placeholder: String,
) -> TextArea
A text area showing height visible rows, with placeholder text.
pub fn update(
msg: msg,
area: TextArea,
) -> #(TextArea, gleamtea.Cmd(msg))
Edit in response to a key (only while focused).