nagoshiashumari / Rpg-Awesome

A fantasy themed font and CSS toolkit.
http://nagoshiashumari.github.io/Rpg-Awesome/
BSD 2-Clause "Simplified" License
860 stars 50 forks source link

How can I use the icons in the terminal? #65

Closed akulakov closed 4 years ago

akulakov commented 4 years ago

How can i use TTF icons in the terminal, for example from Python using \u{hex value} escape codes? I've found https://github.com/nagoshiashumari/Rpg-Awesome/blob/master/scss/_variables.scss but the codes do not seem to work in the terminal, with rpg-awesome selected as the font.

akulakov commented 4 years ago

I figured it out, e.g. for the code \e900, in Python you have to use '\ue900', seems obvious in retrospect :).