Skip to content

Commit 68b5384

Browse files
xJonathanLEIFrederik Vestre
authored andcommitted
Use OSC 52 for tmux copy (helix-editor#5027)
1 parent c8a1d55 commit 68b5384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helix-view/src/clipboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
136136
} else if env_var_is_set("TMUX") && binary_exists("tmux") {
137137
command_provider! {
138138
paste => "tmux", "save-buffer", "-";
139-
copy => "tmux", "load-buffer", "-";
139+
copy => "tmux", "load-buffer", "-w", "-";
140140
}
141141
} else {
142142
Box::new(provider::FallbackProvider::new())

0 commit comments

Comments
 (0)