const (
TextareaCommandNone TextareaCommand = iota
TextareaCommandInsertNewline
)Type TextareaCommand
type TextareaCommand uint8TextareaCommand is a request for the caller-owned editor. The component never applies commands or retains editor state itself.
Constants
Constructors
TextareaCommandForKey#
func TextareaCommandForKey(snapshot TextareaSnapshot, key ui.Key) (TextareaCommand, bool)TextareaCommandForKey maps only keys owned by a multiline editor. Text insertion, deletion, movement, selection extension, and IME remain platform or application editor responsibilities.