editor: drop telemetry output messages

This commit is contained in:
Dmitry Sharshakov 2021-08-23 20:22:55 +03:00
parent b5b79e3656
commit 09c994a97a
No known key found for this signature in database
GPG Key ID: 471FD32E15FD8473

View File

@ -343,7 +343,12 @@ pub async fn handle_debugger_message(&mut self, payload: helix_dap::Payload) {
category, output, .. category, output, ..
}) => { }) => {
let prefix = match category { let prefix = match category {
Some(category) => format!("Debug ({}):", category), Some(category) => {
if &category == "telemetry" {
return;
}
format!("Debug ({}):", category)
}
None => "Debug:".to_owned(), None => "Debug:".to_owned(),
}; };