Morantron / tmux-fingers

copy pasting in terminal with vimium/vimperator like hints.
MIT License
1k stars 46 forks source link

Blank fingers mode when specific content is on the screen #116

Closed g-pavlik closed 7 months ago

g-pavlik commented 7 months ago

Hello, thank you for this amazing plugin! I just discovered it.

I sometimes get a blank screen when entering the fingers mode, and inspired by https://github.com/Morantron/tmux-fingers/issues/7 I managed to track it down this this one-liner:

001, aaaaaaaaa_aa_aaaaaaa_aaaaaaaaaa_at: "2024-03

When it's on the screen - tmux-fingers seems to error, and shows empty screen. But grepping it with the patterm mentioned in the #7 does not look problematic:

$ head -n 1 test2.txt | grep -oniE --line-number [0-9]{4}
1:1000
1:2024
1:4611

I installed tmux-fingers using TMP,

$ head -n 1 ~/.tmux/plugins/tmux-fingers/CHANGELOG.md 
## 2.1.4 - 08 Mar 2024
$ tmux -V
tmux 3.3a
$ /usr/bin/env bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
$ uname -a
Linux pop-os 6.6.10-76060610-generic #202401051437~1709764300~22.04~379e7a9 SMP PREEMPT_DYNAMIC Thu M x86_64 GNU/Linux

I could not find health-check.sh mentioned in docs/health-check.md, but I checked all things manually (incl submodules init) and it looks ok. I also could not find any logs that coud show me the error.

Morantron commented 7 months ago

Is there something in /tmp/fingers.log? That content and pattern works on my end.

I need to remove docs/health-check.md since most of that is outdated and only relevant in 1.x version.

g-pavlik commented 7 months ago

Thanks for checking on your machine. My /tmp/fingers.log is empty, but I rebooted my machine over the weekend. Now, when I try to reproduce it, it works.

I did have a custom regexp at some point, but I removed it and resourced tmux before submitting this issue :thinking:

Thanks for letting me know about /tmp/fingers.log - I'll use it next time.