mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Use OSC 52 for tmux copy (#5027)
This commit is contained in:
parent
e9d43c284b
commit
d3f670c0e2
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user