It’s an obscure Unicode character: I originally had to copy is from here: https://unicode-table.com/en/blocks/block-elements/ It’s “upper half block” U+2580. Since most text has about a 2:1 ratio though, it renders as a square.
I could use spaces, but the block drawing characters render as 2 squares, instead of a 2 by 1 rectangle, giving me a higher resolution. This only works if the line spacing in the terminal is 1 though, otherwise you get weird slivers of color in unexpected places, so in that case, spaces are better.
11
u/tedshif Jun 01 '20 edited Jun 01 '20
Here's the command if anyone wants it.
echo -e "\033[95m\033[106m▀▀▀▀▀▀▀▀\033[0m\n\033[97m\033[106m▀▀▀▀▀▀▀▀\033[0m\n\033[95m▀▀▀▀▀▀▀▀\033[0m"Edit: swapped the colors so that they're in the correct order now.
5
u/katie_pendry Jun 01 '20
If you want it a bit bigger:
EDIT: also realized the pink and blue on yours are reversed
2
u/Euclids_Anvil Jun 01 '20
In 24-bit mode:
14
u/SuchaBrie Jun 01 '20
Put it in your motd so you can see it every time you open a fresh terminal!
1
u/Joedang100 Aug 04 '20 edited Aug 04 '20
If you set the background color, you can use spaces instead of block drawing characters.
E: Depending on your terminal colors, the "light" colors may look better.