Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
endor56665yBut why, WHY are you doing this? Emojicode wasn't enough for you?
The terminal was one of the few places left in the computing world that hadn't been infested by the emoji plague. And now you've gone and destroyed it. You monster!
(But seriously though, why on earth would you want emojis in a terminal? What practical purpose would they serve?) -
@endor I've seen some interesting cases about having the ⚠️ emoji as a warning symbol in stuff like builds and logs, etc. But the realest reason is to support my long-time-goal of a fully featured devRant terminal client. ASCII art images, Unicode, devRant colors and themes, the whole 9 yards.
One step closer, today -
@endor plus, it's 2020, and even in the Terminal, Unicode should be implemented FIRST, not as an afterthought.
-
@linuxxx Which means that Emoji is supported in all three major OS Terminal Emulators!
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
I feel totally empty inside, it's 3:30 AM, but I got emoji's working in the Linux terminal AND Windows terminal using the same c code.
What you're looking at here is Linux (top left), Windows (starting slightly right of the top left), and the source code for both platforms. It also runs until you press the 'q' key so just displaying an Emoji would be much less code.
It took literally all day of learning about Unicode, Unicode in c, Unicode in ncurses, Unicode in Linux, and Unicode in Windows. But fuck me, I did it.
Only the new Windows Terminal (Preview) renders emoji. The old CMD.exe and powershell.exe will only render what their fonts offer, which isn't much. This got me stuck for a while.
Check out the lib here... leave a star for my ego.
https://github.com/AlgoRythm-Dylan/...
rant
terminal
linux
emoji
cross-platform
windows