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

Added Ctrl-[ alias, and 's' guioption

This commit is contained in:
Martin Stubenschrott
2007-04-16 23:31:55 +00:00
parent 6797ee2cfb
commit 849789d23d
9 changed files with 13 additions and 7 deletions

View File

@@ -496,7 +496,6 @@ function onCommandBarKeypress(evt)/*{{{*/
else
special = false;
/* user pressed ENTER to carry out a command */
if (evt.keyCode == KeyEvent.DOM_VK_RETURN)
{
@@ -507,7 +506,8 @@ function onCommandBarKeypress(evt)/*{{{*/
execute_command(count, cmd, special, args);
}
else if (evt.keyCode == KeyEvent.DOM_VK_ESCAPE)
else if ((evt.keyCode == KeyEvent.DOM_VK_ESCAPE) ||
(keyToString(evt) == "<C-[>"))
{
add_to_command_history(command);
focusContent(true, true);