aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-03 20:11:06 +0000
committerDmitry Sharshakov2021-09-03 20:11:06 +0000
commitcf7237d0b920eeb7d887c192bc46c44990cc9b68 (patch)
tree8f4081775dabcbce34c6ceb7e2f4e34cd560a6a5 /helix-term
parentc63ad60c31cb51481b227c1d610d3eb7b2f95529 (diff)
compat: make thread IDs signed
Delve needs it
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands/dap.rs2
1 files changed, 1 insertions, 1 deletions
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,