diff options
author | Jonathan LEI | 2022-12-07 02:11:45 +0000 |
---|---|---|
committer | GitHub | 2022-12-07 02:11:45 +0000 |
commit | d3f670c0e2d8800bfeacb76a5b96753ac6529170 (patch) | |
tree | e533104f88cc4b0a9d4c76a73e4e11d3f047e195 /helix-view | |
parent | e9d43c284bb717e3de5aec7312d985a088ede7ea (diff) |
Use OSC 52 for tmux copy (#5027)
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/clipboard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/clipboard.rs b/helix-view/src/clipboard.rs index 19fade69..4f83fb4d 100644 --- a/helix-view/src/clipboard.rs +++ b/helix-view/src/clipboard.rs @@ -136,7 +136,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> { } else if env_var_is_set("TMUX") && binary_exists("tmux") { command_provider! { paste => "tmux", "save-buffer", "-"; - copy => "tmux", "load-buffer", "-"; + copy => "tmux", "load-buffer", "-w", "-"; } } else { Box::new(provider::FallbackProvider::new()) |