chrisbra / Colorizer

color hex codes and color names
549 stars 31 forks source link

Add ANSI escape sequences support #62

Closed nkakouros closed 6 years ago

nkakouros commented 6 years ago

They are described here.

Would it be possible to add support for them so that eg this file shows colored?

chrisbra commented 6 years ago

Colorizer already has ANSI escape sequence support. Have you tried it?

Am 03.10.2018 um 22:43 schrieb tterranigma notifications@github.com:

They are described here.

Would it be possible to add support for them so that eg this file shows colored?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

chrisbra commented 6 years ago

Ah, it is a bit different than the usual files that have raw ansi escape sequences in it. So what exactly would you like to have colored? Just the escape sequences?

nkakouros commented 6 years ago

Hello!

I guess, on eg this line:

UI_Color_Blue=$'\033[0;34m'

\033[0;34m could be shown in blue.

chrisbra commented 6 years ago

okay, should work now

nkakouros commented 6 years ago

Yes, thanks!