Tree branch characters sometimes can't be displayed
Kabouik opened this issue · 2 comments
Thanks for this, it's a life changer on my system which does not have the base tree
in its repository.
I sometimes get something like this within tmux:
Yet I don't think it's an utf-8 issue because I can see characters with diacritics with no issue. Also, this does not happen all the time, but I am not sure exactly how to reproduce it yet. It could be related to re-attaching a tmux session after SSH, but this needs some more digging, I'm not sure yet.
Is this something you already observed, and do those characters replacing the tree ring a bell?
Oh well, it is probably related to that:
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Which I think confirms it is somehow related to SSH, because my system LANG is not POSIX, I think POSIX is just what shows from SSH. Somehow sshing into my tmux sessioin bust corrupt the LANG and then it stays like that.
tmux kill-serv
followed by tmux
and the restoration of the previous save stated using tmux-resurrect
does fix this, which confirms my tmux server got wrongly changed into POSIX at some point (probably due to restoring the session from SSH or starting the tmux server from SSH, I'm not sure).