Skip to content

Start and end text selection only on the primary mouse button - #78

Merged
trissim merged 2 commits into
mainfrom
fix/primary-selection-gesture-20261006
Oct 6, 2026
Merged

trissim merged 2 commits into
mainfrom
fix/primary-selection-gesture-20261006

Conversation

@trissim

@trissim trissim commented Oct 6, 2026 •

Copy link
Copy Markdown

Screen now starts selection only on a button 1 press and flushes pending selection only on a button 1 release, so secondary buttons no longer affect it. The _selecting variable is replaced by a property that is true while a press offset and a selection state both exist. When the screen is suspended, its press offset is cleared but the selected range is kept for copying. One test file is updated.

@trissim
trissim marked this pull request as ready for review October 6, 2026 20:37
Copilot AI balanced review requested due to automatic review settings October 6, 2026 20:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 8733e54 into main Oct 6, 2026
2 of 22 checks passed
@trissim trissim changed the title Keep Screen text selection and auto-scroll with the original primary press Start and end text selection only on the primary mouse button Oct 11, 2026
@trissim
trissim deleted the fix/primary-selection-gesture-20261006 branch October 11, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants