sdcv icon indicating copy to clipboard operation
sdcv copied to clipboard

37m is hard to read on light terminal background

Open AcarBurak opened this issue 1 year ago • 1 comments

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 avatar Jul 31 '22 05:07 AcarBurak

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

AcarBurak avatar Jul 31 '22 10:07 AcarBurak