New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blurred heads and tails look horrible #537
Comments
These glyphs looks good in terminals that have native support for Block Elements. Konsole isn't one of them. You can file a feature request with Konsole, use a different terminal, or type |
OK, there is another way, although it requires a bit of work on your part. If your zsh version is >= 5.7.1, and your terminal supports truecolor, and you can figure out the rgb values for the terminal background and the prompt line, then you can make it look nice. Here's a screenshot from Konsole I just took: I selected "dark" color in print -P '%K{#303030} %B%F{39}~%f%b %K{#1E1E1E} %K{#121212} %K{#060606} %K{#000000} %k' I opened # The right end of left prompt.
typeset -g POWERLEVEL9K_LEFT_PROMPT_LAST_SEGMENT_END_SYMBOL='%K{#1E1E1E} %K{#121212} %K{#060606} %k'
# The left end of right prompt.
typeset -g POWERLEVEL9K_RIGHT_PROMPT_FIRST_SEGMENT_START_SYMBOL='%K{#060606} %K{#121212} %K{#1E1E1E} %k' And voilà! With this technique you can make blur as long or as short as you like. |
Blurred heads and tails look good in terminals that have built-in support for Block Elements. They look bad in terminals that pull Block Elements from the font. I'm 100% certain this is true. If blurred heads and tails look good in Chakra Linux, it means Block Elements enjoy built-in support in Chakra Linux.
This isn't the right way to put it. Konsole in some environments renders Block Elements poorly. |
Hello @romkatv , I'm using the Powerline10K theme on my MacBook Pro with Oh-My-ZSH and iterm 2. I've followed all the steps and installed the MesloLGS NF font. However, the blurred heads look similar to what is mentioned in this issue. I've followed the workaround which you mentioned above. Is this happening because iterm 2 doesn't support Block elements natively or is it something else. I've also tried it in the Terminal app and also in VS Code with the same results. Could you please let me know if there is anything else that can be done for the blurred endings to be rendered correctly? |
Yes.
Either use a terminal that renders block elements natively (I don't know if any macOS terminal can do this) or use the workaround from #537. There are no other ways. |
Thanks for the quick reply! 👍 |
This was the only way I was able to get it working with kitty. With st it seems to work fine without the workaround. |
@preludium975 Your screenshot looks as expected. That's how it looks in iTerm2 and Apple Terminal. It looks the same for everyone, so it's not something that's broken just for you. The first two comments on this issue provide the explanation for this and list what you can do. |
Could you recommend me a Terminal on macOS which renders block elements properly? I tried a few but none of them worked. |
I don’t know. |
@gusbemacbe This is already mentioned in the second comment of this issue: #537 (comment) |
I am very sorry. Maybe he did not read or understand your comment or thought that worked only for Konsole or Linux users. Since I was macOS user for a decade, there is not any terminal that can make ░▒▓ and ▓▒░ smooth. The only terminal that I know, can make these heads smooth, it is Termite. I am not sure if he can compile and make Termite on macOS. He need to use Homebrew, Linuxbrew and Macports to port Termite on macOS. |
Maybe, although there is no indication of this. The question @preludium975 has asked is reasonable either way.
All terminals based on VTE render block elements nicely. This includes arguably the most popular Linux terminal -- GNOME Terminal -- as well as a plethora of niche terminals such as Termite.
Termite is a Linux-only terminal. |
I know this is a really old issue, but I thought it was worth adding for anyone that might come across this in the next few days/weeks/months before Alacritty releases a stable update -- support for this was just merged a few days ago. For anyone thats on arch, the alacritty-git AUR package includes it. alacritty/alacritty@f717710 |
Hi, I'm usin MesloLGS NF font in my Konsole terminal but it looks horrible I don't know why, I configured powerlevel10k in Chakra Linux an Elementary and I had no issues but with Nitrux I'm not able to configure the terminal properly, blurred heads and tails have different types of tiny dots.
¿Is there something I'm missing?
Thanks
The text was updated successfully, but these errors were encountered: