1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 23:25:47 +01:00

clear the commandline when changing tabs

This commit is contained in:
Doug Kearns
2007-10-07 21:19:31 +00:00
parent c4cddc478d
commit e3f6dd9491

View File

@@ -52,6 +52,7 @@ function Events() //{{{
vimperator.buffer.updateBufferList();
}, false);
tabcontainer.addEventListener("TabSelect", function(event) {
vimperator.commandline.clear();
vimperator.statusline.updateTabCount();
vimperator.buffer.updateBufferList();
vimperator.tabs.updateSelectionHistory();
@@ -506,12 +507,12 @@ function Events() //{{{
else
vimperator.modes.reset();
break;
case vimperator.modes.COMMAND_LINE:
vimperator.commandline.close();
vimperator.modes.reset();
break;
default:
// clear any selection made
var selection = window.content.getSelection();