Preferences

Not feasible. What happens if the actual data you're trying to process happens to contain a sequence of bytes which could be interpreted as an escape sequence? Now you've ruined the user's data by modifying it.

calvinmorrison
some allowances must be made for text co-mingling in the UI or we just all need to move to structured crap like PowerShell.

nobody seems to complain about other control characters like line feeds....

but yeah you can also check for $TERM or try to guess other ways.

This item has no comments currently.