screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatically sync system clipboard with paste buffer?


From: Rose Hogenson
Subject: Automatically sync system clipboard with paste buffer?
Date: Thu, 10 Oct 2024 01:53:43 +0000

I have to copy and paste a lot from my terminal, and using the mouse doesn't work if the content is longer than the window height.


Right now I have the following binding in my .screenrc:

bind > eval "writebuf" "exec osc copy /tmp/screen-exchange"

using https://github.com/theimpostor/osc to copy through ssh. It works really well, but I'm curious if you would be open to accepting a patch for screen to do this automatically when content is copied to the paste buffer? It would make integration with the desktop clipboard feel really seamless. It should be as easy as emitting the right OSC escapes from within screen as long as the terminal supports it.


Thanks!


Rose




reply via email to

[Prev in Thread] Current Thread [Next in Thread]