Skip to content

Fix backward selection#54

Open
kdj0c wants to merge 1 commit into
kmscon:mainfrom
kdj0c:fix_selection
Open

Fix backward selection#54
kdj0c wants to merge 1 commit into
kmscon:mainfrom
kdj0c:fix_selection

Conversation

@kdj0c

@kdj0c kdj0c commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

When selecting with the mouse in backward direction, the selection takes only one char.
This bug was introduced with the commit:
e4c7bfd scrollback/selection: refactor scrollback and selection code

So store the first click to its own selection (sel_begin) and then when the target change, make sure to correctly order sel_start and sel_end.

Fix #53

When selecting with the mouse in backward direction, the selection takes
only one char.
This bug was introduced with the commit:
e4c7bfd scrollback/selection: refactor scrollback and selection code

So store the first click to its own selection (sel_begin) and then when
the target change, make sure to correctly order sel_start and sel_end.
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.

Backward mouse text selection

1 participant