[][src]Module mortal::util

Miscellaneous utility functions

Structs

Prefixes

Iterator over string prefixes.

Functions

char_width

Returns the width of a character in the terminal.

ctrl

Returns the control character corresponding to the given character.

is_combining_mark

Returns whether the given character is a combining mark.

is_ctrl

Returns whether the given character is a control character.

prefixes

Returns an iterator over all non-empty prefixes of s, beginning with the shortest.

unctrl_lower

Returns the lowercase ASCII character corresponding to the given control character.

unctrl_upper

Returns the ASCII character corresponding to the given control character.