-
Notifications
You must be signed in to change notification settings - Fork 166
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
Search results overflowing into search input field #275
Comments
Tysm for this very detailed and well explained report! The way I see it there could be two causes for this:
fzf_opts = {
['--info'] = 'default',
['--layout'] = 'default',
}, The reason for the latter is the recent discovery of a rendering bug with If both don't work I would be interested to see if this bug also exists with |
junegunn/fzf#2482 - this could also be related, what is your |
Thanks for your quick response!
Here is the results:
Thanks for the explanation and the pointer. I will take a look.
The search input field is happy now with
I am on |
Thank you once again the detailed reply, since the behavior is the same regardless of We can leave this issue open until we figure out if If you can reproduce it in the shell it's definitely an upstream issue.
At least you have an alternative for now! |
I don't recommend using
I encountered a similar issue before with Chinese filenames, i.e. the input area got broken after some special characters are shown in the result list. So I think you're in the right direction: the root cause is probably related to emojis/encodings. (@ibhagwan I hope this info will help you debugging.) |
Hi @akrifari, Can be downloaded from |
Sorry for the lack of response. I have been caught up in real life for the last couple of days.
Just to make sure, if I can reproduce this at the shell level (without
Thanks @nyngwang for the heads up 👍. I will reconsider it. |
There's no rush here on Github world, take your time and reply when life won't get in your way :-)
Correct, although I would probably test the same That said, I would try |
After creating minimal reproducible file, I am 100% sure the culprit are those emojis. Thanks @ibhagwan and @nyngwang I would not have made it this far without you. For those interested, this is the reproducible file: repro.mdSit quos enim architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem
Sit quos enim architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem
👧🏼 Sit quos enimo architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem
Sit quos enim architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem
Sit quos enim architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem
👧🏼 Sit quos enimo architecto nobis quas. Sequi dicta aut totam debitis neque ipsa! Est corrupti ea dolorum molestias ea Totam magni magnam maxime optio incidunt? Ipsum sapiente recusandae animi voluptatem Context
Test Scenarios (shell level)
Test Scenarios (fzf-lua)
ScreencastsResultsAfter testing it in two different terminal emulators surprisingly I got strange results.
I am wondering this is not really about an fzf issue, per se. It might be related how Neovim renders emoji 1 and how terminal emulators handle that as well 23. What do you think? Footnotes |
@akrifari interesting issue, it does seem pretty clear that it's emoji related and also that there's probably not much I can do within Now the quesion is whether this is a terminal issue or an fzf issue, the fact it works in kitty at the shell level leads me to think it's more terminal related than fzf, especially with the linked issues from both neovim and alacritty related to emojis. There's a good chane though that this can also be mitigtaed at the fzf level, it might be worth it to open an issue with fzf so we have it tracked or better yet solved, I will open an issue with fzf. |
junegunn/fzf#2697 opened an issue upstream, since this is most likely not an issue with |
Thank you for bearing with me! Have a great day. |
Description
Hello fzf-lua's maintainer, thanks for creating this plugin it is a real joy to use so far. Sadly, I stumbled upon this issue while I was searching for something using
:FzfLua grep
and apparently the search results somehow overflowing into search input field. I am not sure what is the root cause of this problem as there are no weird characters in the files (unless you take those emojis into account). Let me know if you need any additional information.Screencast
Peek.2021-12-24.mp4
Configuration
fzf-lua config
.ripgreprc
fzf config on .zprofile
Current workaround
Change preview window layout on top of fzf window/toggle preview window.
The text was updated successfully, but these errors were encountered: