diff options
author | Dmitry Sharshakov | 2021-09-04 07:22:29 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-09-04 07:22:29 +0000 |
commit | cb31d20b46141558db886be3ad8efc76ba0c098f (patch) | |
tree | 80e9c409f78e7201568435f43bdecf342e783896 | |
parent | 9a1916ebfd9d90d3a75207334caf0fe85f305441 (diff) |
mark thread as running when resumed
-rw-r--r-- | helix-term/src/application.rs | 4 |
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) } |