noborus / ov

🎑Feature-rich terminal-based text viewer. It is a so-called terminal pager.
https://noborus.github.io/ov
MIT License
1.46k stars 39 forks source link

pasting text into search truncates text #486

Open iloveitaly opened 9 months ago

iloveitaly commented 9 months ago

Here's an example: Code - README md

Pasting text truncates part of the search query. Seems to do better on second paste.

noborus commented 9 months ago

Thank you for the issue. I haven't been able to reproduce it myself, but I think it's possible. This is most likely a problem with the library you are using, so it may take some time to resolve.

You might try disabling mouse support. https://github.com/noborus/ov?tab=readme-ov-file#319-mouse-support

iloveitaly commented 9 months ago

I'm using tmux—do you think that has something to do with it?

I'll try disabling mouse mode.

iloveitaly commented 2 weeks ago

Tried disabling mouse support, didn't fix it.

Tried in a plain old zsh terminal (no tmux), didn't fix it either.

So odd! Any other ideas?

noborus commented 2 weeks ago

sorry. #613 may be involved. If --incsearch = f works well, fix it in the next version.