Skip to content

feat: mouse selection support#1209

Merged
ellie merged 2 commits into
atuinsh:mainfrom
YummyOreo:mouse
Sep 11, 2023
Merged

feat: mouse selection support#1209
ellie merged 2 commits into
atuinsh:mainfrom
YummyOreo:mouse

Conversation

@YummyOreo
Copy link
Copy Markdown
Contributor

Adds mouse selection support.

closes #160

@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atuin-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2023 9:52pm

Copy link
Copy Markdown
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

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

Nice one, thank you! This has been an issue for a while 🙏

@ellie ellie merged commit 34654ad into atuinsh:main Sep 11, 2023
ellie pushed a commit that referenced this pull request Apr 2, 2026
<!-- Thank you for making a PR! Bug fixes are always welcome, but if
you're adding a new feature or changing an existing one, we'd really
appreciate if you open an issue, post on the forum, or drop in on
Discord -->

## Checks
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing

This adds an option to disable mouse support, so that the terminal
handles mouse events, making it easy to select text. I've found myself
needing to copy from history frequently recently and holding Shift is
not convenient.

However, this makes mouse scrolling not work as expected, e.g. in my
case it scrolls six lines at a time.

Also see #1209.
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.

Select text

2 participants