← Back to context

Comment by skydhash

5 months ago

It’s the same with colors in terminal. Some tools produces them even when piping it through another tool and then you have a mess of ansi codes on the output.

Emoji should be always user configurable and opt-out add some —-fancy flag or some env variable if someone really wants them (you readme screenshot can let them know of they exists).

I agree that configurability helps, and flags to make output more/less plain exist. Just wanted to present a viewpoint based on a concept I learned studying visual design. Colourful text and emoji are on totally different levels when it comes to attention grabbing!

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

  • 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.

    • 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.