jesseduffield.lazygit/pkg
Stefan Haller 44a2bbeb7c Deliver mouse release after a drag
Releasing a mouse button was delivered as a plain mouse-move (hover)
event: the release processing resets dragState to NOT_DRAGGING, after
which the event fell into the NOT_DRAGGING branch. Views therefore had
no way of telling that a drag gesture ended, which the upcoming
drag-based features (range selection, commit reordering) need.

Deliver the release as a real mouse event with the MouseRelease key
and normalize its modifiers to ModNone, so release bindings also match
modified drags. Make recordClickInfo ignore it: a release is the end of
a click, not a click of its own, and must not break double-click
detection.
2026-07-31 08:22:35 +02:00
..
app Allow overriding the platform used for default keybindings 2026-07-03 19:08:22 +02:00
cheatsheet Render every key for a binding in the cheatsheet 2026-05-25 15:18:18 +02:00
commands Support absolute paths when detecting edit preset from EDITOR env var 2026-07-30 17:31:56 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Change default spinner frames and rate 2026-07-31 08:03:40 +02:00
constants
env
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gocui Deliver mouse release after a drag 2026-07-31 08:22:35 +02:00
gui Change list section headers to a slightly more elegant design 2026-07-31 08:03:40 +02:00
i18n Show a waiting status while creating a branch 2026-07-17 12:32:32 +02:00
integration Change list section headers to a slightly more elegant design 2026-07-31 08:03:40 +02:00
jsonschema Fold legacy quit-alt1 into the multi-key quit binding 2026-05-25 15:32:47 +02:00
logs Fix Windows linter errors 2026-06-16 16:21:13 +02:00
snake Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
tasks Handle a command task's end-of-input on the UI thread 2026-07-17 12:35:54 +02:00
theme Copy gocui files into lazygit repo under pkg/gocui 2026-04-30 14:29:08 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Expand a leading ~ in worktree paths to the home directory 2026-07-03 18:53:05 +02:00