feat(file-manager): handle the wheel, double clicks and right clicks

The panel only reacted to a left click on a row, so every other gesture was
keyboard-only: the wheel did nothing, a double click did not open the entry and
there was no way to reach the actions from the pointer. The wheel now steps the
selection by three rows without leaking the event to the hosting terminal, a
second click on the same row within kitty's click interval runs the primary
action, and a right click opens the action palette on the clicked row.

Fixes #47
This commit is contained in:
BlackAngelTV committed 2026-12-03 10:23:04 +01:00
1 parent 271babc8f1
commit 406bd726e2
4 files changed
+112 -2

No files matched your search

+10
View File
@@ -161,6 +161,16 @@ pas soumise.
synchronisation reste inerte.
Souris
------
Le panneau se pilote aussi à la souris. La molette parcourt la liste par pas de
trois lignes, sans transmettre l'événement au terminal qui héberge le dock. Un
double-clic ouvre l'entrée sous le pointeur, comme :kbd:`Entrée` : un répertoire
est parcouru, un fichier est confié à l'éditeur. Un clic droit ouvre la palette
d'actions sur la ligne cliquée, identique au raccourci :kbd:`:`.
.. _file-manager-shortcuts:
Raccourcis et configuration