Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select text with click + drag #8

Closed
tconbeer opened this issue May 9, 2023 · 1 comment · Fixed by #37
Closed

select text with click + drag #8

tconbeer opened this issue May 9, 2023 · 1 comment · Fixed by #37
Labels
enhancement New feature or request

Comments

@tconbeer
Copy link
Owner

tconbeer commented May 9, 2023

I don't seem to get click /drag/release events; not sure if it's something I did or just something textual doesn't support.

Research this: https://github.com/textualize/textual/blob/main/FAQ.md#how-can-i-select-and-copy-text-in-a-textual-app
I think this would allow system operations, like copy to clipboard, but idk if I get the events I need to update the harlequin cursor and anchor selection for text insertion.

Also research how the scroll bar implements this, since it clearly supports click+drag.

@tconbeer tconbeer transferred this issue from tconbeer/harlequin Jun 1, 2023
@tconbeer tconbeer added the enhancement New feature or request label Jun 14, 2023
@tconbeer
Copy link
Owner Author

We do get these events, they're just suppressed unless the console is run with -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant