aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-23 17:22:55 +0000
committerDmitry Sharshakov2021-08-23 17:22:55 +0000
commit09c994a97aa45e5af1e88aba80796a503d31ed7b (patch)
tree9ed01d77bd61e7b2b48826c7e64b9b151088528b /helix-term
parentb5b79e3656c0ef3335955f422187c627aeb5c3e5 (diff)
editor: drop telemetry output messages
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/application.rs7
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(),
};