lichess-bot icon indicating copy to clipboard operation
lichess-bot copied to clipboard

Text color garbled after game finishes, when on verbose mode

Open fabriciodosanjossilva opened this issue 2 years ago • 0 comments

When using verbose mode (python lichess-bot.py -v), lichess-bot displays debug text lines, using different colors to differentiate different info. When game finishes, there is an incorrect change to default text color, leading to incorrect colored text from then on. Sometimes text color turns to dark blue, which makes text unreadable. Restarting is the only solution.

In the attached image, the default white text turns into cyan. Red arrows show incorrect color.

It seems that some color control code is set, but not unset. wrong text color

fabriciodosanjossilva avatar Aug 11 '22 19:08 fabriciodosanjossilva