←back to thread

178 points dgl | 1 comments | | HN request time: 0.211s | source
Show context
mmastrac ◴[] No.44362863[source]
I'd be happy if we could get terminals to agree on how wide the warning triangle emoji renders. The emoji are certainly useful for scripts, but often widths are such a crapshoot. I cannot add width detection to every bash script I write for every emoji I want to use.

If only there was a standards body that could perhaps spec how these work in terminals.

replies(4): >>44362918 #>>44363071 #>>44363211 #>>44369636 #
a5c11 ◴[] No.44363211[source]
Or you could just rely on the ordinary, fixed-width font available in every terminal? I mean, what do you need emojis for in a bash script?
replies(2): >>44363238 #>>44363336 #
1. warkdarrior ◴[] No.44363238[source]
And, frankly, why even bother with lower-case characters? Upper case is plenty good -- it was good enough for the VT05, it should be good enough for your laptop.