mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-28 15:23:33 +01:00
fix for cursor being stuck in command line when switching tabs
This commit is contained in:
@@ -202,9 +202,8 @@ vimperator.Events = function () //{{{
|
|||||||
}, false);
|
}, false);
|
||||||
tabcontainer.addEventListener("TabSelect", function (event)
|
tabcontainer.addEventListener("TabSelect", function (event)
|
||||||
{
|
{
|
||||||
if (vimperator.mode == vimperator.modes.HINTS || vimperator.mode == vimperator.modes.CUSTOM )
|
// TODO: is all of that necessary?
|
||||||
vimperator.modes.reset();
|
vimperator.modes.reset();
|
||||||
|
|
||||||
vimperator.commandline.clear();
|
vimperator.commandline.clear();
|
||||||
vimperator.modes.show();
|
vimperator.modes.show();
|
||||||
vimperator.statusline.updateTabCount();
|
vimperator.statusline.updateTabCount();
|
||||||
|
|||||||
Reference in New Issue
Block a user