diff --git a/helix-dap/examples/dap-basic.rs b/helix-dap/examples/dap-basic.rs index fb52f8553..3331c6bba 100644 --- a/helix-dap/examples/dap-basic.rs +++ b/helix-dap/examples/dap-basic.rs @@ -13,7 +13,11 @@ struct LaunchArguments { async fn output(mut output_event: Receiver) { let body: OutputEventBody = from_value(output_event.recv().await.unwrap().body.unwrap()).unwrap(); - println!("{:?}", body); + println!( + "> [{}] {}", + body.category.unwrap_or("unknown".to_owned()), + body.output + ); } #[tokio::main]