←back to thread

178 points dgl | 2 comments | | HN request time: 0.526s | 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 #
charcircuit ◴[] No.44362918[source]
You could ship a terminal with your script. This is how apps like Slack deal with inconsistent handling of standardized content by shipping an embedded chromium.
replies(3): >>44363122 #>>44363344 #>>44363554 #
liamkearney ◴[] No.44363122[source]
What doesn’t justify shipping chromium these days?
replies(2): >>44363210 #>>44363218 #
1. dgl ◴[] No.44363210[source]
The ChromeOS terminal (hterm[1]) is actually a pretty good terminal, so even a terminal might justify a browser context. Blink[2] on iOS for example uses it.

[1]: https://hterm.org/ (although in the way they do Google seems to have lost interest in updating that site and the GitHub repo, there's still fixes in the upstream Chromium repo)

[2]: https://blink.sh

replies(1): >>44363320 #
2. notpushkin ◴[] No.44363320[source]
How does it compare to https://xtermjs.org/?