charmbracelet / charmbracelet/bubbletea
Allow both native text selection and mouse wheel scrolling
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I tried using either WithMouseCellMotion or WithMouseAllMotion and they both seem to allow for scrolling a viewport with the mouse wheel but disable text selection/highlighting completely. Tried passing different flags to muesli's termenv to facilitate this, to no avail.
Would it be possible to allow both scrolling with mouse and text selection?
Contributor guide
Research direction
Start by tracing how WithMouseCellMotion and WithMouseAllMotion configure mouse reporting in Bubble Tea, then inspect the interaction with muesli's termenv. Confirm the terminal behavior for wheel scrolling and native text selection, and consider the work complete when both remain usable together with regression coverage for the supported mouse modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100