module

Bubbles::Textarea

Constants

DEFAULT_CHAR_LIMIT = 0
DEFAULT_HEIGHT = 6
DEFAULT_MAX_HEIGHT = 99
DEFAULT_MAX_WIDTH = 500
DEFAULT_WIDTH = 40
MAX_LINES = 10000
MIN_HEIGHT = 1

Constants ported from Go: vendor/bubbles/textarea/textarea.go:32-38

Constructors

Class methods

default_dark_styles

DefaultDarkStyles returns the default styles for a dark background. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:415

Source
default_key_map

DefaultKeyMap returns the default set of key bindings for navigating and acting upon the textarea. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:78

Source
default_light_styles

DefaultLightStyles returns the default styles for a light background. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:410

Source
default_styles(is_dark : Bool = false) : Styles

DefaultStyles returns the default styles for focused and blurred states for the textarea. Ported exactly from Go: vendor/bubbles/textarea/textarea.go:375

Source

Nested types