Skip to content

Commit

Permalink
Clarify comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Mar 4, 2024
1 parent 541288b commit 7355bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batgrl/io/input/win32/console_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _handle_mouse(ev: MOUSE_EVENT_RECORD) -> _PartialMouseEvent:
# through ev.ButtonState. To get behavior roughly consistent with linux, the most
# recent mouse button pressed is determined from the last button state, the current
# button state, and the order mouse buttons were pressed (stored in
# _PRESSED_BUTTONS).
# _PRESSED_BUTTONS) instead of using ev.ButtonState.

# Double-click can be determined from ev.EventFlags (0x0002), but to be consistent
# with linux mouse-handling we determine double/triple-clicks with
Expand Down

0 comments on commit 7355bf3

Please sign in to comment.