1# llimphi-clipboard
2
3The system clipboard for Llimphi apps.
4
5The `text-editor` defines the `Clipboard` trait but leaves the backend to the
6caller (it does not want to couple itself to X11/Wayland/macOS/Windows). This
7crate provides the obvious backend — `arboard` — so any app can plug it in with
8one line:
9
10```ignore
11let mut clip = llimphi_clipboard::SystemClipboard::new();
12editor.apply_key_with_clipboard(&ev, &mut clip);
13```
14
15With no display (headless CI, a session without a graphics server) it degrades
16to a silent no-op: `get` returns `None`, `set` discards. It never panics.
17
18---
19
20Part of **llimphi** — see [llimphi](../../README.md).
README.md
llimphi-clipboard
The system clipboard for Llimphi apps.
The text-editor defines the Clipboard trait but leaves the backend to the
caller (it does not want to couple itself to X11/Wayland/macOS/Windows). This
crate provides the obvious backend — arboard — so any app can plug it in with
one line:
let mut clip = llimphi_clipboard::SystemClipboard::new();
editor.apply_key_with_clipboard(&ev, &mut clip);
With no display (headless CI, a session without a graphics server) it degrades
to a silent no-op: get returns None, set discards. It never panics.
Part of llimphi — see llimphi.