diff options
author | Dmitry Sharshakov | 2021-08-23 17:22:55 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-23 17:22:55 +0000 |
commit | 09c994a97aa45e5af1e88aba80796a503d31ed7b (patch) | |
tree | 9ed01d77bd61e7b2b48826c7e64b9b151088528b | |
parent | b5b79e3656c0ef3335955f422187c627aeb5c3e5 (diff) |
editor: drop telemetry output messages
-rw-r--r-- | helix-term/src/application.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 6579cb51..1bb2df39 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -343,7 +343,12 @@ impl Application { category, output, .. }) => { let prefix = match category { - Some(category) => format!("Debug ({}):", category), + Some(category) => { + if &category == "telemetry" { + return; + } + format!("Debug ({}):", category) + } None => "Debug:".to_owned(), }; |