-
-
Notifications
You must be signed in to change notification settings - Fork 712
Open
Labels
codeCode improvementsCode improvements
Description
Many functions assume that the characters are ASCII only.
I.e.: longest_prefix
, split_two_lines
, longest_suffix
We should make them stable also for the generic Unicode characters.
As the functions are mostly used for rendering, the better approach seems to be using the TextLayout
instead or https://doc.rust-lang.org/std/primitive.str.html#method.split.
Metadata
Metadata
Assignees
Labels
codeCode improvementsCode improvements
Type
Projects
Status
No status