From cb31d20b46141558db886be3ad8efc76ba0c098f Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 4 Sep 2021 10:22:29 +0300 Subject: [PATCH] mark thread as running when resumed --- helix-term/src/application.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 112bd334b..802438bc5 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -299,7 +299,9 @@ impl Application { self.editor.set_status(status); } Event::Continued(events::Continued { thread_id, .. }) => { - debugger.thread_states.remove(&thread_id); + debugger + .thread_states + .insert(thread_id, "running".to_owned()); if debugger.thread_id == Some(thread_id) { resume_application(debugger) }