Add automatic color for underline cursor
What does this do?
Automatically pick a more readable color when the underline cursor has the same color as underlined text
Escape sequence | \033[0;4m |
\033[31;4m |
\033[32;4m |
\033[33;4m |
Before | ||||
After |
The code still needs some work, and the problem persists, when the current character is an underscore. Also, the colors look ugly. - Maybe they could be just black or white?