@@ -4,6 +4,7 @@ use helix_core::Selection;
44use helix_dap::{self as dap, Client, Payload, Request, ThreadId};
55use helix_lsp::block_on;
66use log::warn;
7+use std::fmt::Write;
78use std::io::ErrorKind;
89use std::path::PathBuf;
910
@@ -180,10 +181,10 @@ impl Editor {
180181
181182 let mut status = format!("{} stopped because of {}", scope, reason);
182183 if let Some(desc) = description {
183− status.push_str(&format!(" {}", desc));
184+ write!(status, " {}", desc).unwrap();
184185 }
185186 if let Some(text) = text {
186− status.push_str(&format!(" {}", text));
187+ write!(status, " {}", text).unwrap();
187188 }
188189 if all_threads_stopped {
189190 status.push_str(" (all threads stopped)");