Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
300 stars 44 forks source link

37m is hard to read on light terminal background #83

Open AcarBurak opened 2 years ago

AcarBurak commented 2 years ago

https://github.com/Dushistov/sdcv/blob/d054adb37c635ececabc31b147c968a480d1891a/src/libwrapper.cpp#L39

The yellow text in the screenshot is my Xresources:white (37m) color and the white text is my Xresources:brightwhite color. For instance the line That jacket's too small for you. in the screenshot is coded (in one of the ".dict" files) like that: <ex> That jacket&apos;s too small <b>for</b> you. </ex> So colors are broken too. Perhaps it would be safer to just make such parts italic instead of colourized.

A minor glitch in an otherwise very functional utility. I'm grateful for your work.

37m

AcarBurak commented 2 years ago

I've solved it for myself with seding <ex> with \s<i> and </ex> with \s</i> in the .dict files.