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

Bug: Ignore matches in long lines #138

Open
hgigas opened this issue Apr 4, 2023 · 4 comments
Open

Bug: Ignore matches in long lines #138

hgigas opened this issue Apr 4, 2023 · 4 comments

Comments

@hgigas
Copy link

hgigas commented Apr 4, 2023

For example:

$ find /usr/bin | tr '\n' ' '
/usr/bin /usr/bin/mariadb-admin /usr/bin/stat /usr/bin/grub-kbdcomp /usr/bin/php /usr/bin/top /usr/bin/infocmp /usr/bin/gtk-query-settings /usr/bin/desktop-file-validate /usr/bin/deb-systemd-helper /usr/bin/ctr /usr/bin/pod2html /usr/bin/runcon /usr/bin/identify /usr/bin/gegl /usr/bin/g++ /usr/bin/sccmap /usr/bin/pbmtolj /usr/bin/oshfort /usr/bin/pgmtoppm /usr/bin/xload /usr/bin/file-roller /usr/bin/clang-move-11 /usr/bin/gvmap.sh /usr/bin/hp-probe /usr/bin/mtr /usr/bin/pdb3 /usr/bin/ptked /usr/bin/clang-11 /usr/bin/dot /usr/bin/gprof /usr/bin/psresize /usr/bin/chmod /usr/bin/dpkg-divert /usr/bin/portablectl /usr/bin/pbmtopi3 /usr/bin/machinectl /usr/bin/llvm-cxxfilt-11 /usr/bin/pbmtonokia /usr/bin/hp-doctor /usr/bin/dvilj6 /usr/bin/cvtsudoers /usr/bin/from /usr/bin/sxw2odt /usr/bin/gslp /usr/bin/doc2pdf /usr/bin/pbmtobbnbg /usr/bin/xscreensaver-demo /usr/bin/pnmtofits /usr/bin/latex2man /usr/bin/ppmrainbow /usr/bin/tkpasswd /usr/bin/pnmtops /usr/bin/msgcat /usr/bin/nmtui /usr/bin/ps2epsi /usr/bin/llvm-mca /usr/bin/Xephyr /usr/bin/GET /usr/bin/pooltype /usr/bin/tzselect /usr/bin/mysqlslap /usr/bin/cd-create-profile /usr/bin/mountpoint /usr/bin/dh_installinitramfs /usr/bin/luac5.4 /usr/bin/dh_usrlocal /usr/bin/rview /usr/bin/urxvtd /usr/bin/x86_64-linux-gnu-gcov-dump /usr/bin/neqn /usr/bin/chfn ...

then call tmux-thumbs. Only matches few items (first items).

@fcsonline
Copy link
Owner

Few days ago, we merged some changes to support long lines. Can you double check that you have the latest code?

b719e1f

@hgigas
Copy link
Author

hgigas commented Apr 5, 2023

Yes, I have the latest code ae91d5f. You can see for yourself with the example I included.

$ thumbs --version
thumbs 0.8.0
$ tmux-thumbs --version
tmux-thumbs 0.8.0

Several issues with long lines. With small width for example:

  • Before tmux-thumbs:
    flameshot_2023-04-05_09 00

  • After tmux-thumbs:
    flameshot_2023-04-05_09 01

several lines overlaps.

@fcsonline
Copy link
Owner

fcsonline commented Apr 5, 2023

I think you are facing another problem, not related to the length of the line and it is already known:

#76

#129

@hgigas
Copy link
Author

hgigas commented Apr 14, 2023

Fixed some issues with long lines #139

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