Skip to main content

Module runeutil

Module runeutil 

Source
Expand description

Cleanroom Rust port of upstream Go source file: internal/runeutil/runeutil.go Upstream Target Tag / Version: v2.1.0

Structs§

Sanitizer_

Traits§

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

Functions§

new_sanitizer
NewSanitizer constructs a rune sanitizer.
replace_newlines
ReplaceNewlines replaces newline characters by the specified string.
replace_tabs
ReplaceTabs replaces tabs by the specified string.

Type Aliases§

Option
Option is the type of option that can be passed to Sanitize().