Skip to content
Tech News
← Back to articles

Can your terminal do emojis? How big?

read original get Google Pixel → more articles

Emojis are great. They're particularly useful to put in the output of scripts and get some eye catching output. At least provided they aren't overused, just like colour.

$ important-command Lots of output... ‼️ Something went wrong! Some more output...

But bigger emojis are better, right?

The VT100, introduced in 1978 has a way to do bigger text. You can even play with this due to the wonderful PCjs VT100 implementation.

The way it works is you use the DECDHL (DEC Double-Height Line) escapes, to change the "style" of the whole line, it then uses a bigger font of which one line is the top half, the next line is the bottom half. (Based on how pixelated it is I think the VT100 just scales up the normal font.)

You can see if your own terminal supports this with:

printf '\e#3Hello world 👋

\e#4Hello world 👋

'

On the PCjs dual VT100s you can type that manually. Select the top terminal and blindly type [Esc], #, 3, Hello world, Ctrl-M, Ctrl-J, then [Esc], #, 4 and repeat the rest.

... continue reading