From cf7237d0b920eeb7d887c192bc46c44990cc9b68 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Fri, 3 Sep 2021 23:11:06 +0300 Subject: compat: make thread IDs signed Delve needs it --- helix-term/src/commands/dap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/commands') diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs index 6b9b06b2..082e2c7a 100644 --- a/helix-term/src/commands/dap.rs +++ b/helix-term/src/commands/dap.rs @@ -29,7 +29,7 @@ pub fn resume_application(debugger: &mut Client) { debugger.thread_id = None; } -pub async fn select_thread_id(editor: &mut Editor, thread_id: usize, force: bool) { +pub async fn select_thread_id(editor: &mut Editor, thread_id: isize, force: bool) { let debugger = match &mut editor.debugger { Some(debugger) => debugger, None => return, -- cgit v1.2.3-70-g09d2