-
Notifications
You must be signed in to change notification settings - Fork 937
Wrong cut off in Konsole #971
Comments
UPDATE: after setting LANG=n_US.UTF-8 in locale.conf to fix #639 this is the prompt that I am getting If I use the Nerd Font Monoglyph variant, the output is correct, but the icons are smaller and harder to read. I am beginning to suspect that it's all due to the and not powerlevel9k, but I will wait for someone more knowledgeable to drop by. |
I have this same issue but only since Konsole 18.08.0 dropped on me. Before that, this fix used to work: #231-comment-349022409 |
Yes I am having the same issue currently. It was working fine when I installed it. Probably its because of the new konsole update. |
I can confirm that by downgrading |
Okay, it sounds like this is indeed a bug in konsole. It would be good if someone (ideally a konsole user) filed a bug on Konsole's bug tracker so they are aware and hopefully push a fix in a future update. @mr-ubik @NielsonJ @harsh8398 @abdelrahmangit - Thanks so much for commenting and participating, here, and thanks @mr-ubik for opening this issue to begin with! I'm going to close this out for now since it's an external bug, but if there are any updates please share them here, or if you believe there is an issue in P9k we can resolve please re-open! |
I think the problem is adding whitespace was a workaround, not a fix. |
So presumably that means that the work around we had before relied on a bug in konsole..? Where should the fix to make this work sit? |
Either we can figure out why xfce terminal (for instance) displays things correctly, and persuade Konsole to do the same (though it might turn out that there's a bug in XFCE terminal), or awesome-terminal-fonts can move the glyphs into the Han section of Unicode (which would break things for anyone who actually wanted to use CJK characters). |
Or Option 3, the double width characters can be implemented using two codepoints and a ligature (since ligatures do work in Konsole). |
SOLUTION: I installed Tilix terminal and icons are displayed properly. Personally I am glad that I discovered Tilix, it is even better than Konsole! Maybe some of you already knew for Tilix, but I wanted to share my solution. Hopefully it will help someone. Anyways, thanks @dritter for your response :) |
The Konsole bug is fixed, but powerlevel9k needs to be changed to ensure there are no ANSI escape codes between the character and the space (so the escape codes need to go after the space). |
Yeah, I noticed that change a few days ago. Konsole works fine now, good job. |
Actually, I'm still seeing an issue with the swap use segment. |
Provide a screenshot. |
Now, I have the same issue as you. I've just upgraded from Kubuntu 18.10 to 19.04 and now Konsole doesn't work anymore. Just switch to Tilix, you won't regret it. No more headaches with Konsole. |
That's because Kubuntu 19.04 comes with Konsole 18.12. Konsole 19.04 largely fixed the problems, except with the swap segment. |
Then, I guess you'll have to wait for the next update to fix the problem with the swap segment 😂 |
@beojan Good to hear that the bug is fixed in Konsole. Not sure though, if we should add a whitespace after every icon by default. That would fix this out of the box for Konsole users, but display a big gap for other Terminal Emulators. |
IIRC, there's already some logic (either in P9K or oh my zsh) that does
precisely that, but only on Konsole. That's why things worked before 18.04.
Evidently, this is missing for the swap segment.
…On Tue, Apr 23, 2019, 17:32 Dominik Ritter ***@***.***> wrote:
@beojan <https://github.com/beojan> Good to hear that the bug is fixed in
Konsole. Not sure though, if we should add a whitespace after every icon by
default. That would fix this out of the box for Konsole users, but display
a big gap for other Terminal Emulators.
But it is possible right now to add a whitespace to every icon via
configuration. E.g. for the Swap segments icon, just set P9K_SWAP_ICON=$'\uF464
' in your ~/.zshrc, if you use P9Ks next branch, and NerdFonts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#971 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA4OENN7NKBI3AKYODBZVZ3PR42YHANCNFSM4FRUQVVQ>
.
|
@dritter I "fixed" this by adding a space after each variable in line 123 of This would need to be in a conditional if the fix is to be distributed (maybe a P9K_SPACE_AFTER_ICONS option?) |
And solved. It's 4300902 that causes the problem. |
@Afzal7 I use the MONO variant of the awesome fonts. Go to EDIT > Appeaance > Choose font > Enable Show all fonts > Choose the mono variant of what you want. Now it will work. BUT I also have this weird thing where, IF konsole is started from zsh with oh-my-zsh and powerlevel9k installed the font is not rendered properly. IF started from bash inside zsh then is fine. Seems like #1258 |
@RaitaroH Thanks for the reply. Did what you said. It worked but i have to say it does not look perfect. But it will work. Thanks. |
Terminal Emulator: Konsole
Framework: Oh-My-Zsh
Powelevel9k: cloned from master (571a859)
POWERLEVEL9K_MODE='nerdfont-complete'
Font: Hack Nerd Font (installed via the AUR packages)
It appears that #854 is not working for me.
The text was updated successfully, but these errors were encountered: