feat: Windows (CF_DIB) and macOS (AppleScript) clipboard image sync
This commit is contained in:
+4
-1
@@ -41,7 +41,10 @@ en mesh pair-à-pair sur réseau local. Chaque nœud est à la fois client et se
|
||||
|
||||
### 1. Clipboard (`internal/clipboard/`)
|
||||
|
||||
Interface unifiée `Read() / Write()` avec implémentations par plateforme :
|
||||
Interface unifiée `Read() / Write()` avec implémentations par plateforme.
|
||||
L'interface optionnelle `ImageClipboard` (`ReadImage` / `WriteImage`) ajoute la
|
||||
sync d'images PNG (xclip/wl-clipboard sur Linux, CF_DIB sur Windows, AppleScript
|
||||
sur macOS) :
|
||||
|
||||
- **Linux** : auto-détection X11/Wayland via `$XDG_SESSION_TYPE`
|
||||
- X11 → `xclip -selection clipboard -o` / `xclip -selection clipboard`
|
||||
|
||||
Reference in New Issue
Block a user