prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.11k stars 717 forks source link

Is it possible to make the strikethrough lines a little bit thicker? #1768

Closed GhostOps77 closed 11 months ago

GhostOps77 commented 11 months ago

This is a very good utility. I like to play with it all the time. but while doing that, i feel like the strikethrough lines in the strikethrough text is very thin. (I'm using HTML class to format the text output)

So, is there anyway to increase the thickness of this line?

Is this what actually available, or is this an intentional feature?

and by the way, im using win11, and prompt-toolkit v3.0.38 Screenshot (81)

kylepollina commented 11 months ago

AFAIK that is entirely controlled by the font and not controlled by the library. If you change your terminal font it will do that. The library can not support how fonts are rendered

joouha commented 11 months ago

In WezTerm you can configure this by setting the underline_thickness parameter in your configuration

image

GhostOps77 commented 11 months ago

ok, got it. so, it's based on terminal's font type.