rbaron / dict.cc.py

📘 Unofficial command line client for dict.cc
157 stars 37 forks source link

Colorize output #24

Closed zaraken closed 5 years ago

zaraken commented 5 years ago

Add --color arg (default true) to apply colors to output using colorama. Color individual words from searched phrase in green. Color words in brackets in blue. TODO: Handle nested colored words properly. Rare. Add an equal sign (=) between translations as a separator to better separate results that are too long to fit into the table alignment (no dots are displayed or even wrap over to next line)

rbaron commented 5 years ago

Hi @zaraken,

I just tested it on my machine and it works nicely. Thanks!