aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-04 07:22:29 +0000
committerDmitry Sharshakov2021-09-04 07:22:29 +0000
commitcb31d20b46141558db886be3ad8efc76ba0c098f (patch)
tree80e9c409f78e7201568435f43bdecf342e783896 /helix-term/src
parent9a1916ebfd9d90d3a75207334caf0fe85f305441 (diff)
mark thread as running when resumed
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/application.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 112bd334..802438bc 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)
}