Closed ckangnz closed 2 years ago
What is the output of :echo &ambiwidth
?
@junegunn single
Is your terminal emulator capable of properly displaying box-drawing characters?
cat << EOF
╭─────────────────────────────────────────────────────╮
│ │
│ https://en.wikipedia.org/wiki/Box-drawing_character │
│ │
╰─────────────────────────────────────────────────────╯
EOF
@junegunn I've just tested on my terminal (iterm2) and it doesn't show broken side bar, but it still shows glitches. It looks like the bar glitch is only present on macvim (v 8.2.3455 )
The gif shows vim
first then mvim
in comparison.
vim
does not have the popup UI defect, but still has the glitch.
mvim
has popup UI defect, and also has the glitch.
@junegunn should this be reported to macvim you reckon?
I currently don't have macvim installed to confirm the case. You might want to open a terminal inside macvim (:terminal
) and run the above command I showed you and see if it properly displays the box.
If it doesn't, I would try changing the font of macvim to see if it helps. Or you could add let $FZF_DEFAULT_OPTS='--no-unicode'
to your Vim configuration file so that fzf doesn't use unicode box-drawing chars.
@junegunn thank you! i guess the issue was from my font?
Entering :terminal
in macvim also showed the similar issues only on macvim terminal. I added --no-unicode
and it fixed the issue.
Looks slightly uglier than before but looks more like vim style anyways :)
it hasn't solved the flickering issue, but the UI looks much better now.
Do you know what could be causing the flickering btw?
man fzf
)I always had this weird glitch when rendering the popup window on fzf, where the window spazzes whenever it opens. I thought it was due to too many files being loaded onto fzf finder.
But today i realised that there is a weird behaviour on my popup.
As shown in the screenshot, there are only 3 outcomes, but the popup still makes a weird glitch. Then I realised that popup window on the right side had a broken UI. When I toggle open the preview window, it is more evident.
I tried removing all other plugins and removed all of my settings except fzf, but couldn't remove this issue.
here is the minimum settings