Skip to content

Commit c518f84

Browse files
committed
chore: add progress
1 parent 1134c9d commit c518f84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

helix-term/src/handlers/blame.rs

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ impl helix_event::AsyncHook for BlameHandler {
2222

2323
fn finish_debounce(&mut self) {
2424
// 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.
2531
job::dispatch_blocking(move |editor, _| {
2632
request_git_blame(editor);
2733
})

0 commit comments

Comments
 (0)