From 09c994a97aa45e5af1e88aba80796a503d31ed7b Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov 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 6579cb510..1bb2df392 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -343,7 +343,12 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) { category, output, .. }) => { let prefix = match category { - Some(category) => format!("Debug ({}):", category), + Some(category) => { + if &category == "telemetry" { + return; + } + format!("Debug ({}):", category) + } None => "Debug:".to_owned(), };