class

Bubbles::TextInput::Sanitizer

Inherits Reference < Object

Sanitizer is a helper for bubble widgets that want to process runes from input key messages.

Constructors

new(replace_newline : Array(Char) = ['\n'], replace_tab : Array(Char) = [' ', ' ', ' ', ' '])
Source

Instance methods

replace_newline
Source
replace_newline=(replace_newline : Array(Char))
Source
replace_tab
Source
replace_tab=(replace_tab : Array(Char))
Source
sanitize(runes : Array(Char)) : Array(Char)
Source