We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1134c9d commit c518f84Copy full SHA for c518f84
helix-term/src/handlers/blame.rs
@@ -22,6 +22,12 @@ impl helix_event::AsyncHook for BlameHandler {
22
23
fn finish_debounce(&mut self) {
24
// TODO: this blocks on the main thread. Figure out how not to do that
25
+ //
26
+ // Attempts so far:
27
+ // - tokio::spawn
28
+ // - std::thread::spawn
29
30
+ // For some reason none of the above fix the issue of blocking the UI.
31
job::dispatch_blocking(move |editor, _| {
32
request_git_blame(editor);
33
})
0 commit comments