You are not logged in.
I am having an issue with unicode characters in Konsole.
I've switched to fish shell and want to use the Chain theme
and the Nerd Font patched DejaVu Sans Mono
However, whenever I cd to a git repo, especially a dirty one, parts of the prompt disappear.
This is clearly due to the unicode characters "⎇" and "─".
I have an idea that it's due to these characters being wider than normal.
I expected "]" to be displayed after "master" like "[⎇ master]─"
Also, if I copy my prompt, I do get the "right" output in the clipboard, however echoing it in the terminal still gives this issue.
"[~/a/d/ddist]─[⎇ master]─[±]─>"
EDIT: It seems that if I have my cursor between the ⎇ and ], the display "warps" slightly to show the missing character, but erases the one beneath the cursor.
Last edited by Jomik (2017-04-12 13:04:43)
Offline
My only comment is, you are telling echo to echo "master-" and not "master]-". Does ls work properly to display the directory name or does it get it wrong too?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
You are right, it looks like that, but, as you can see in the picture below, the character is actually there! ls works fine. The issue is with the prompt in fish swallowing a character. This seems to happen only in Konsole, so was hoping there was a fix. - It doesn't happen in Tilix, at least.
Updated my OP.
Last edited by Jomik (2017-04-12 13:08:54)
Offline