Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Clipboard: TEXT_ONLY is built on Linux only

dotCooCoode72fc3998ac
diff --git a/apps/vectorcraft/src/clipboard.rs b/apps/vectorcraft/src/clipboard.rs
index aafb42b9b..08bb6aa8a 100644
--- a/apps/vectorcraft/src/clipboard.rs
+++ b/apps/vectorcraft/src/clipboard.rs
@@ -339,6 +339,7 @@ mod portable {
}
/// What a write of a picture says where the clipboard carries text only.
+ #[cfg(target_os = "linux")]
const TEXT_ONLY: &str = "this clipboard carries text only";
impl Backend {