~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
7 months ago
Updated
5 months ago
Labels
No labels applied.