Skip to content

Fix Selected Text - #384

Merged
migueldeicaza merged 1 commit into
migueldeicaza:mainfrom
thecoolwinter:fix/copy
Aug 9, 2025
Merged

Fix Selected Text#384
migueldeicaza merged 1 commit into
migueldeicaza:mainfrom
thecoolwinter:fix/copy

Conversation

@thecoolwinter

Copy link
Copy Markdown
Contributor

The selection service's start/end positions can be reversed (usually when dragging backwards in the text). This orders the start/end positions before calling terminal.getText.

Fixes a bug where the selection service's start/end positions were reversed (usually when dragging backwards in the text). This orders the start/end positions before calling `terminal.getText`.
@migueldeicaza
migueldeicaza merged commit 0cdb248 into migueldeicaza:main Aug 9, 2025
1 check failed
@migueldeicaza

Copy link
Copy Markdown
Owner

Thank you for the patch!

min-median-max pushed a commit to min-median-max/SwiftTerm that referenced this pull request Jan 18, 2026
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