mirror of
https://github.com/helix-editor/helix
synced 2024-05-18 03:06:05 +02:00
make clipboard message debug
This commit is contained in:
parent
8ba0a46274
commit
0e038fb80c
|
@ -41,7 +41,7 @@ macro_rules! command_provider {
|
||||||
primary_paste => $pr_get_prg:literal $( , $pr_get_arg:literal )* ;
|
primary_paste => $pr_get_prg:literal $( , $pr_get_arg:literal )* ;
|
||||||
primary_copy => $pr_set_prg:literal $( , $pr_set_arg:literal )* ;
|
primary_copy => $pr_set_prg:literal $( , $pr_set_arg:literal )* ;
|
||||||
) => {{
|
) => {{
|
||||||
log::info!(
|
log::debug!(
|
||||||
"Using {} to interact with the system and selection (primary) clipboard",
|
"Using {} to interact with the system and selection (primary) clipboard",
|
||||||
if $set_prg != $get_prg { format!("{}+{}", $set_prg, $get_prg)} else { $set_prg.to_string() }
|
if $set_prg != $get_prg { format!("{}+{}", $set_prg, $get_prg)} else { $set_prg.to_string() }
|
||||||
);
|
);
|
||||||
|
@ -381,7 +381,7 @@ mod provider {
|
||||||
|
|
||||||
impl ClipboardProvider for WindowsProvider {
|
impl ClipboardProvider for WindowsProvider {
|
||||||
fn name(&self) -> Cow<str> {
|
fn name(&self) -> Cow<str> {
|
||||||
log::info!("Using clipboard-win to interact with the system clipboard");
|
log::debug!("Using clipboard-win to interact with the system clipboard");
|
||||||
Cow::Borrowed("clipboard-win")
|
Cow::Borrowed("clipboard-win")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue