mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 11:53:30 +04:00
editor: drop telemetry output messages
This commit is contained in:
parent
b5b79e3656
commit
09c994a97a
@ -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(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user