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

Pedro Alves
2021-06-18T17:43:44Z

On 2021-06-18 4:01 p.m., Tom Tromey wrote:
>>> 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
>

That's awesome! Great find.