atuin icon indicating copy to clipboard operation
atuin copied to clipboard

interactive search drops characters when typing too fast

Open norpol opened this issue 2 years ago • 2 comments

When I'm typing in the interactive search atuin 0.10.0 (and possible earlier?) will frequently drop key presses.

This happens reliable after opening the interactive search and typing in something relatively quickly.

This will sometimes even happen when I'm typing in longer search words too, often times when the search is jumping across

Here is a video, on the top you can see what keys I'm pressing and on the bottom you see that atuin only registers one p instead of pp.

The behavior is much worse when my system is under high load

recording

norpol avatar Jun 29 '22 19:06 norpol

Reproduces on NixOS, 0.10.0, history size 133k

cab404 avatar Jul 18 '22 10:07 cab404

Running into this too. macOS, 0.10.0, history size 81k

joemiller avatar Jul 20 '22 14:07 joemiller

I think that this is fixed by #448, which fixes how multiple input events are handled, and is included in v11. I tried and failed to repro this myself on v12.

Can anyone repro this on v11 or greater?

arcuru avatar Nov 17 '22 01:11 arcuru

I'd be pretty happy to call this resolved after #448 as I also cannot repro, thanks for pointing this out.

ellie avatar Nov 17 '22 09:11 ellie