diff options
author | Dmitry Sharshakov | 2021-08-21 11:15:29 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-21 11:15:29 +0000 |
commit | 6458edecfd5fda486c9b9a1d0d802aa23bcd90ac (patch) | |
tree | 24571abfe6e7c284fcd4fd1889a54eae59487df9 /helix-view | |
parent | 738e8a4dd3e9b22cd8b2d35a48ddc104a53187c4 (diff) |
Add stack pointer display when stopped
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/editor.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 1fae59be..2309379a 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -8,6 +8,7 @@ use crate::{ use futures_util::future; use futures_util::stream::select_all::SelectAll; +use tokio::sync::Mutex; use tokio_stream::wrappers::UnboundedReceiverStream; use std::{ @@ -74,7 +75,7 @@ pub struct Editor { pub theme: Theme, pub language_servers: helix_lsp::Registry, - pub debugger: Option<helix_dap::Client>, + pub debugger: Option<Arc<Mutex<helix_dap::Client>>>, pub debuggers: SelectAll<UnboundedReceiverStream<helix_dap::Payload>>, pub clipboard_provider: Box<dyn ClipboardProvider>, |