1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 14:35:46 +01:00

Allow C-c to interrupt search highlighting

This commit is contained in:
Kris Maglione
2008-10-07 14:25:18 +00:00
parent 73a2d510a7
commit 45ad9f0c8b
4 changed files with 20 additions and 10 deletions

View File

@@ -1237,6 +1237,14 @@ const liberator = (function () //{{{
return true;
},
threadyield: function (flush)
{
let mainThread = threadManager.mainThread;
do
mainThread.processNextEvent(true);
while (flush && mainThread.hasPendingEvents());
},
get windows()
{
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]