We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd4d737 commit 324c431Copy full SHA for 324c431
Main.cs
@@ -44,8 +44,9 @@ public Task<List<Result>> QueryAsync(Query query, CancellationToken token)
44
if (c.SpecialKeyState.CtrlPressed)
45
{
46
tab.CloseTab();
47
- // Re-query to remove closed tab from the results
48
- Context.API.ChangeQuery(query.RawQuery, true);
+ // Re-query to remove closed tab from the results.
+ // Add a slight delay so re-query can pick up the tab elements again, 200ms was the right amount after testing
49
+ Task.Delay(200).ContinueWith(_ => Context.API.ChangeQuery(query.RawQuery, requery: true));
50
}
51
else
52
tab.ActivateTab();
0 commit comments