You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Icon rendered small on kitty terminal due to following nbsp.
See kovidgoyal/kitty#1463, kitty will only render icons as full-width when it is followed by at least on space.
Screenshots:
On kitty:
Same tmux pane on alacritty:
Setting opts.nbsp to plain space seems to fix this issue, but it will break the live_grep finder (e.g. cannot jump to the correct file and location), not sure if that breaks other functionalities.
Tried with opts.nbsp = ' \xe2\x80\x82' (space followed by nbsp), but that makes the gap between the icon and the text too large.
Could you help me figure out how can I have full-width nerd font icons on kitty without breaking existing functionalities? Thanks in advance!
The text was updated successfully, but these errors were encountered:
… contains a non-breaking space as well as a normal space
There is some software out there that uses nbsp as a separator,
presumably as some kind of hack.
ibhagwan/fzf-lua#916
Thank you for your assistance! I attempted to adjust the opts.file_icon_padding, but encountered a similar issue when setting opts.nbsp to ' \xe2\x80\x82' – the space between the icon and the text appeared slightly too large.
I'm very grateful to @kovidgoyal for addressing this specific case in Kitty! With the recent patch he added, using kitty nightly now allows for a seamless full-width icon display, whether followed by a space or a nbsp. Now setting opts.nbsp to '\xc2\xa0' solves the issue.
Setting it other invisible values, e.g. '\xe2\x80\x82' (the default nbsp value) does not work, however, but it should be easy to solve.
Info
Linux 6.1.58-1-lts
fish
kitty 0.29.2
+tmux 3.3a
nvim --version
:NVIM v0.10.0-dev-1334+gd2d38858d1
fzf --version
:0.42.0 (d471067e)
mini.sh
fzf-lua configuration
Description
Icon rendered small on kitty terminal due to following nbsp.
See kovidgoyal/kitty#1463, kitty will only render icons as full-width when it is followed by at least on space.
Screenshots:
On kitty:
Same tmux pane on alacritty:
Setting
opts.nbsp
to plain space seems to fix this issue, but it will break thelive_grep
finder (e.g. cannot jump to the correct file and location), not sure if that breaks other functionalities.Tried with
opts.nbsp = ' \xe2\x80\x82'
(space followed by nbsp), but that makes the gap between the icon and the text too large.Could you help me figure out how can I have full-width nerd font icons on kitty without breaking existing functionalities? Thanks in advance!
The text was updated successfully, but these errors were encountered: