Comments (5)
+1, Termux support would be great
from arboard.
I hadn't heard of termux's API before, but I wouldn't be opposed to supporting this behind an opt-in feature flag. Would that be sufficient for your needs?
I don't think this could be the default because I do want to add proper Android clipboard support eventually (#56), but again the feature flag could work.
from arboard.
A feature flag sounds good, yeah
from arboard.
This is going to be very low priority for me to implement, but I would review a PR that cleanly overrode the "platform clipboard" with a tmux implementation based on the discussed feature flag if anyone is interested in contributing.
from arboard.
I also encountered this problem.
❯ cargo check
Checking arboard v3.3.2
error[E0433]: failed to resolve: could not find `Clipboard` in `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:76:38
|
76 | Ok(Clipboard { platform: platform::Clipboard::...
| ^^^^^^^^^ could not find `Clipboard` in `platform`
error[E0433]: failed to resolve: could not find `Clear` in `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:156:31
|
156 | ...rm::Clear::new(&mut self.platform) }
| ^^^^^ could not find `Clear` in `platform`
error[E0433]: failed to resolve: could not find `Get` in `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:161:29
|
161 | ...form::Get::new(&mut self.platform) }
| ^^^ could not find `Get` in `platform`
error[E0433]: failed to resolve: could not find `Set` in `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:166:29
|
166 | ...form::Set::new(&mut self.platform) }
| ^^^ could not find `Set` in `platform`
error[E0412]: cannot find type `Clipboard` in module `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:65:33
|
65 | pub(crate) platform: platform::Clipboard,
| ^^^^^^^^^ not found in `platform`
error[E0412]: cannot find type `Get` in module `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:173:33
|
173 | pub(crate) platform: platform::Get<'clipboard>,
| ^^^ not found in `platform`
error[E0412]: cannot find type `Set` in module `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:197:33
|
197 | pub(crate) platform: platform::Set<'clipboard>,
| ^^^ not found in `platform`
error[E0412]: cannot find type `Clear` in module `platform`
--> /data/data/com.termux/files/home/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/arboard-3.3.2/src/lib.rs:238:33
|
238 | pub(crate) platform: platform::Clear<'clipboard>,
| ^^^^^ not found in `platform`
Some errors have detailed explanations: E0412, E0433.
from arboard.
Related Issues (20)
- Unable to read image placed by Spectacle
- copy error HOT 1
- [Bevy] [X11] Request timed out HOT 3
- terminated by signal SIGBUS (Misaligned address error) when reading image HOT 4
- [Request] Support for Klipper (KDE Plasma, X11 & Wayland) HOT 6
- Clarify MSRV HOT 4
- Retrieving an image from the clipboard and saving it results in pixel distortion HOT 5
- After copying and image to clipboard it cannot be pasted into a folder HOT 2
- Please update `x11rb` and `core-graphics` HOT 3
- `exclude_from_history` not implemented for KDE klipper clipboard history HOT 1
- Preserving image transparency on Windows HOT 3
- v3.3.1 broken on windows HOT 5
- `set_text` not copying to X11 clipboard HOT 3
- Two Puzzling Issues in Linux
- [x-issue] Potential EoP in Windows clipboard libraries (MS15-097) HOT 2
- Reading an image from clipboard on wayland prints its bytes to stderr HOT 1
- arboard causes crash in WSLg in newer version HOT 2
- ArchLinux/Wayland/Sway -- error while interacting with the clipboard: Display parsing error HOT 3
- Browser Support? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arboard.