Skip to content
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

UI issue with long lines in results #361

Closed
dangirsh opened this issue Jul 14, 2021 · 1 comment
Closed

UI issue with long lines in results #361

dangirsh opened this issue Jul 14, 2021 · 1 comment

Comments

@dangirsh
Copy link

dangirsh commented Jul 14, 2021

Thanks for this outstanding package!

I'm using a config very similar to this one, and noticed that consult-ripgrep has a broken UI. The issue was that I could move my selection off of the bottom of the results, without the view updating. I can include a gif of this happening, if this description isn't clear.

After some searching, I found that reducing the max-columns parameter to ripgrep fixed this issue for me. A quick fix may be to reduce this default from 1000 chars to ~200.

generated Jul 14, 2021 13:50:46
system Ubuntu 20.10 Linux 5.8.0-44-generic x86_64 x
emacs 28.0.50 feature/native-comp fa65c044f ~/.emacs.d/ -> ~/.emacs.d/
features CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB

@minad
Copy link
Owner

minad commented Jul 14, 2021

The description is unfortunately not sufficiently clear. I assume this is a duplicate of #246, which is Selectrum-specific (see radian-software/selectrum#491). Display issues are usually not Consult issues, but should rather be fixed in Selectrum or in whichever UI you are using. As a cross-check you can try my Vertico package, which can be used a Selectrum drop-in. What confuses me here is that you say that the issue is fixed if one adjusts the max-columns parameter. In any case, make sure that all packages are updated to the newest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants