@@ -4,6 +4,7 @@ use helix_core::Selection;
4use helix_dap::{self as dap, Client, Payload, Request, ThreadId};
4use helix_dap::{self as dap, Client, Payload, Request, ThreadId};
5use helix_lsp::block_on;
5use helix_lsp::block_on;
6use log::warn;
6use log::warn;
7use std::io::ErrorKind;
8use std::io::ErrorKind;
8use std::path::PathBuf;
9use std::path::PathBuf;
@@ -180,10 +181,10 @@ impl Editor {
181 let mut status = format!("{} stopped because of {}", scope, reason);
182 let mut status = format!("{} stopped because of {}", scope, reason);
182 if let Some(desc) = description {
183 if let Some(desc) = description {
183− status.push_str(&format!(" {}", desc));
184+ write!(status, " {}", desc).unwrap();
185 if let Some(text) = text {
186 if let Some(text) = text {
186− status.push_str(&format!(" {}", text));
187+ write!(status, " {}", text).unwrap();
188 if all_threads_stopped {
189 if all_threads_stopped {
189 status.push_str(" (all threads stopped)");
190 status.push_str(" (all threads stopped)");