1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 08:14:13 +01:00

fixed :open completions for slow computers. We now yield

incremental results, and the user gets more completion, the more often
he presses tab. Need to find out, how to change the "Waiting..." message
to "More results...". Also reminds me, how ugly the completion context
code is partly. We should try to clean it up and remove/merge useless
function to make it's interface smaller and more side-effect free.
This commit is contained in:
Martin Stubenschrott
2009-01-07 03:04:42 +01:00
parent db97184fa4
commit 473c461d3f
3 changed files with 55 additions and 26 deletions

View File

@@ -1362,6 +1362,7 @@ const liberator = (function () //{{{
callback.call(self);
},
// TODO: interruptable not used?
threadYield: function (flush, interruptable)
{
let mainThread = services.get("threadManager").mainThread;