Skip to content

Fix backward selection#54

Merged
kdj0c merged 1 commit into
kmscon:mainfrom
kdj0c:fix_selection
Jun 25, 2026
Merged

Fix backward selection#54
kdj0c merged 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.
@kdj0c kdj0c merged commit 4e7200a into kmscon:main Jun 25, 2026
2 checks passed
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