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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user