~duangle/scopes#6: 
Some default __tostring methods use terminal escape codes

For example when calling (tostring some-enum) you get something like "\x1b[33mField\x1b[0m". I would say tostring should be reserved to returning plaintext strings that can be used for other purposes that are not display, or even to allow conditional restyling, both of which are difficult to do without using an ANSI code stripping routine.

Status
REPORTED
Submitter
~radgerayden
Assigned to
No-one
Submitted
4 years ago
Updated
10 months ago
Labels
No labels applied.