implement (small, up to 4k) clipboard sharing over DTLS#327
Conversation
25c7348 to
2348274
Compare
4fcfae0 to
d544e9c
Compare
43627e8 to
9fbce5e
Compare
9fbce5e to
f309f74
Compare
|
A few things - we dont have to fix any of this right away:
Let me know your thoughts! |
|
imo the feature should be off by default. |
definitely going to be configurable via the UI |
Adds optional clipboard text sync between peers using arboard (text-only, default-features off). Wire: variable-length ClipboardText frame, 4KiB cap. ClipboardMonitor polls the local clipboard (750ms) and sends on change; ClipboardEmulation writes received text and seeds the monitor's last_content to avoid echo. Global enable_clipboard toggle (default on). Scope kept minimal vs upstream feschber#438: no per-pair gating, no GTK UI, no macOS app-suppression / nspasteboard, no N-peer loop prevention (2-machine setup).
Adds bidirectional clipboard sharing between all connected machines.
Clipboard sharing is enabled by default. To disable, add to
~/.config/lan-mouse/config.toml:enable_clipboard = false4KB max, no chunking, text only