jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.27k stars 605 forks source link

[Error] character used in tig interface broken #1307

Closed gwannuu closed 7 months ago

gwannuu commented 7 months ago
image

Suddenly, I have this broken characters. How can i fix it?

I reinstalled tig command by sudo apt remove tig & sudo apt install tig. But tig looks same.

koutcher commented 7 months ago

You are using a terminal that does not allow VT100 line drawing in UTF-8 mode. PuTTY has an option for this. Another workaround is to add export NCURSES_NO_UTF8_ACS=1 to your environment before starting Tig.

gwannuu commented 7 months ago

Thank you for your answer

"Actually, I use the iTerm terminal application on my M1 MacBook to connect via SSH to my Ubuntu server. However, I recently encountered a problem where the box-drawing characters were not displaying correctly on this server, even though they used to work fine. Interestingly, on another server, the box-drawing characters display normally."

I tried export NCURSES_NO_UTR*_ACS=1 command but it seems not work


Oh after reboot my server, It works fine now! Sorry for bothering you with something trivial.