Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 clipboard support #5479

Closed
wants to merge 10 commits into from

fixup! Implement X11 clipboard integration (Issue #5376).

  • Loading branch information
aweinstock314 committed Apr 1, 2015
commit 570c2d9d996e4b07bf0f96fa5a593476906ffd2c
@@ -52,8 +52,6 @@ extern crate style;
extern crate url;
extern crate uuid;
extern crate string_cache;
#[cfg(target_os="linux")]
extern crate xlib;
extern crate clipboard;

pub mod cors;
@@ -127,7 +127,7 @@ impl TextInput {

/// Insert a string at the current editing point
fn insert_string(&mut self, s: &str) {
// it looks like this could be made performant by avoiding some redundant
// it looks like this could be made performant by avoiding some redundant
// selection-related checks, but use the simple implementation for now
for ch in s.chars() {
self.insert_char(ch);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.