REPL: Cannot copy/paste text out of seqr #178
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
rust
technical-debt
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/patch-seq#178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Unable to copy text out of the seqr REPL, possibly related to mouse capture settings.
Current Behavior
Expected Behavior
Possible Causes
Investigation Notes
crossterm::event::EnableMouseCaptureusageFiles to Investigate
crates/repl/src/main.rs- terminal setupImplemented F4 toggle for mouse capture:
Problem:
EnableMouseCapturecaptures all mouse events, preventing native terminal text selection for copy/paste.Solution:
Also documented:
Changes:
mouse_capture_enabledfield to AppEnableMouseCapture/DisableMouseCapturewhen flag changes:helpwith COPY/PASTE sectionReady for review.
Simplified solution: Removed mouse capture entirely.
Changes:
EnableMouseCapture/DisableMouseCapturefrom terminal setup/teardownscroll_irmethod (was only used by mouse scroll)ir_scrollfield for potential future keyboard scrollingResult: Native terminal text selection now works - select and copy with mouse as usual.
CI passes.
https://github.com/navicore/patch-seq/pull/183