Search code examples
conemu

Can I display "bold" characters instead of "intense/bright" in ConEmu?


I want to display bold characters in WSL through ConEmu (currently using ConEmu 190331 x64).

When I print the following echo -e "FROM NOT BOLD \e[1mTO BOLD\e[0m", I get this Image to ConEmu

As you can see, ConEmu uses the intensity/brightness to represent bold. I would like to be able to switch that to actually use bold instead just like in WSLTTY (MinTTY for WSL): Image to WSLTTY

Is it possible? I couldn't find instructions in ConEmu's manual.


Solution

  • Windows console API does not provide enough attributes to represent boldness. That's why bold attributes may be (yet) set only at the bottom of the buffer (current implementation) where xterm256 and true-color works.

    Than, you may use \e[1m to set bold attribute when you set brightness explicitly (e.g. \e[90m) or xterm color from 256 palette (e.g. \e[38;5;7m).

    enter image description here