Preferences

calvinmorrison parent
If you have a tool users are pipe data into you should be able to handle terminal escape sequences. My two cents.

wavemode
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 OP
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.