mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-11 23:50:07 +01:00
chore: default to clipboard output
This commit is contained in:
parent
b1807d5013
commit
cfbfe35566
2 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@ pub fn run(lines: &[&str], opt: &config::basic::Config) -> Option<ui::Selection>
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
let default_output_destination = config::extended::OutputDestination::Tmux;
|
let default_output_destination = config::extended::OutputDestination::Clipboard;
|
||||||
|
|
||||||
let selection: Option<ui::Selection> = {
|
let selection: Option<ui::Selection> = {
|
||||||
let mut ui = ui::ViewController::new(
|
let mut ui = ui::ViewController::new(
|
||||||
|
|
|
||||||
|
|
@ -941,7 +941,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
|
||||||
wrapped_lines,
|
wrapped_lines,
|
||||||
focus_index: 0,
|
focus_index: 0,
|
||||||
focus_wrap_around: false,
|
focus_wrap_around: false,
|
||||||
default_output_destination: OutputDestination::Tmux,
|
default_output_destination: OutputDestination::Clipboard,
|
||||||
rendering_colors: &rendering_colors,
|
rendering_colors: &rendering_colors,
|
||||||
hint_alignment: &hint_alignment,
|
hint_alignment: &hint_alignment,
|
||||||
hint_style: None,
|
hint_style: None,
|
||||||
|
|
@ -994,7 +994,7 @@ Barcelona https://en.wikipedia.org/wiki/Barcelona - ";
|
||||||
unique_hint,
|
unique_hint,
|
||||||
);
|
);
|
||||||
let wrap_around = false;
|
let wrap_around = false;
|
||||||
let default_output_destination = OutputDestination::Tmux;
|
let default_output_destination = OutputDestination::Clipboard;
|
||||||
|
|
||||||
let rendering_colors = UiColors {
|
let rendering_colors = UiColors {
|
||||||
text_fg: colors::BLACK,
|
text_fg: colors::BLACK,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue