From 09c994a97aa45e5af1e88aba80796a503d31ed7b Mon Sep 17 00:00:00 2001
From: Dmitry Sharshakov <d3dx12.xx@gmail.com>
Date: Mon, 23 Aug 2021 20:22:55 +0300
Subject: [PATCH] editor: drop telemetry output messages

---
 helix-term/src/application.rs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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(),
                     };