tofi icon indicating copy to clipboard operation
tofi copied to clipboard

Mouse support using wheel and buttons

Open marc24force opened this issue 1 year ago • 2 comments

I have added mouse support (#43) to select an entry using the wheel, confirm with left click and cancel with right click. This feature is disabled by default unless the setting mouse-enable is set to true.

marc24force avatar Dec 27 '24 15:12 marc24force

It works as intend with a mouse, to select, close or submit. But it does not work with scrolling gesture as I was wrongly expected.

I have doubt about the naming of the option to mouse-enable when compared to the other options. For example history or text-cursor aren't suffixed with -enable even tho that's they enable a feature. IMHO having it named mouse would look more consistent in regard to the existing options.

bricewge avatar Dec 27 '24 19:12 bricewge

It works as intend with a mouse, to select, close or submit. But it does not work with scrolling gesture as I was wrongly expected.

I don't have any gesture device to test it. If someone can implement it and test it I can do a merge.

I have doubt about the naming of the option to mouse-enable when compared to the other options. For example history or text-cursor aren't suffixed with -enable even tho that's they enable a feature. IMHO having it named mouse would look more consistent in regard to the existing options.

Good point, done

marc24force avatar Dec 28 '24 11:12 marc24force

When I run it, it seems to always revert back to first option. It gives the illusion of scrolling for a a millisecond before reverting to first option in list.

Cronvs avatar Jul 11 '25 22:07 Cronvs