Hello! I have changed my PROMPT variable for bash and zsh in the following:

TRIANGLE=$'\uE0B0'
COLOR_1="#089B89"
COLOR_2="#FCFCFC"
COLOR_3="#3B4045"
PROMPT="%K{$COLOR_1} %n@%M%F{$COLOR_1}%K{$COLOR_2}$TRIANGLE%F{$COLOR_1} %~%F{$COLOR_2}%K{$COLOR_3}$TRIANGLE%f%k " #%K{#1BA58A}%F{black}$TRIANGLE

and I’m using the Noto Sans Mono fonts, but this happens on other fonts as well.

How can I get rid of the white lines before the triangle? should I use a specific font?

  • @Scraft161@iusearchlinux.fyi
    link
    fedilink
    101 year ago

    They happen because the font is not patched property, your best bet is getting the nerd fonts and trying those, popular fonts will generally look nicer.

    • tubbaduOP
      link
      11 year ago

      I installed FiraCode Nerd Fonts, FiraMono Nerd Fonts and Hack Nerd Fonts from here, and only FiraMono was able to not display that vertical line. I suspect the line is caused by the “Smooth fonts” setting in the profile settings > appearance, because unsetting it hides the line in other fonts (but the fonts looks terrible). thanks for the help!

  • tubbaduOP
    link
    11 year ago

    replying to @yote_zip@pawb.social because the direct reply failed:

    I ctrl+F “Noto” and as it returned 0 results I just assumed they weren’t there… thank you!! however, these fonts, as many other, still have this line issue. only FiraMono fonts didn’t:

    • Yote.zip
      link
      fedilink
      11 year ago

      Very strange. I wonder if it’s not a font glyph issue but a font-width issue or something. Beyond getting Nerd Fonts I’m not sure what else to try, sorry!

      • tubbaduOP
        link
        31 year ago

        I tried installing xfce4-terminal, and there it is displayed well with any font, so I guess it’s a Konsole problem… I’ll try to ask in the KDE community, thanks for your help!