git.iko.soy
/
helix
readme
files
commits
refs
on
master
help
sign in
Don't show thread picker for single-threaded targets
00cccdc
Dmitry Sharshakov
5 years ago
helix-term/src/commands/dap.rs
+5
compare with master
unified
split
@@ -97,6 +97,11 @@ fn thread_picker(cx: &mut Context, callback_fn: impl Fn(&mut Editor, &dap::Threa
97
}
97
}
98
};
98
};
99
99
100
+
if
threads.len() ==
1
{
101
+
callback_fn(cx.editor, &threads[
0
]);
102
+
return
;
103
+
}
104
+
100
let
picker = Picker::new(
105
let
picker = Picker::new(
101
true
,
106
true
,
102
threads,
107
threads,
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list