mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

Behave strangely for showing sequential '=' or '-' #274

Closed mingsxs closed 3 years ago

mingsxs commented 3 years ago

Hi,

sorry for raising this issue, because I found that in my wsltty terminal, all the sequential equals or dashes are concatenated to lines. and I have tried other window terminals, like the Windows terminal, ConEmu, they all behave normally, only my wsltty will show sequential equals and dashes strangely. I also attached some screenshots for demonstration, please have a look and it will be appreciated if there is a fix to this.Thanks Screenshot 2021-03-05 005324 equals dashes1 dashes2

mingsxs commented 3 years ago

BTW, I am using the latest x64 build, which is 3.4.5(x86_64-pc-cygwin).

Biswa96 commented 3 years ago

Please provide some deatils about your terminal setup like font name, font size, zsh theme, any extra .zshrc file, any extra settings in .minttyrc file etc.

mintty commented 3 years ago

A few fonts support automatic ligatures, especially for coding symbols, and some people particularly like that (see mintty/mintty#601 and mintty/mintty#754 for some discussion). If you don't, use another font or set option FontRender=textout.

mingsxs commented 3 years ago

Yeah, the font information you mentioned is the key problem, it's because of the Microsoft font cascadia code, after changed to another font, the behavior becomes normal. Thanks for providing this info, I am closing this question now.