Skip to content

Commit

Permalink
Use OSC 52 for tmux copy (helix-editor#5027)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored and Frederik Vestre committed Feb 6, 2023
1 parent c8a1d55 commit 68b5384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-view/src/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 68b5384

Please sign in to comment.