Re: [PATCHv3 1/2] Initial TUI mouse support

Tom Tromey
2021-06-18T15:04:54Z

>> Is it possible to implement this? I looked a little but didn't see a
>> way to set the selection. Hopefully I'm just looking for the wrong
>> keywords...

Pedro> Sorry, I just assumed it was possible, but I don't really know.

By coincidence I learned that this is indeed possible.
It's called "OSC 52":

https://www.reddit.com/r/vim/comments/k1ydpn/a_guide_on_how_to_copy_text_from_anywhere/

And if you search for "emacs" here, there's some information as well:

https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

Tom