1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 09:25:45 +01:00

Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.

This commit is contained in:
Kris Maglione
2010-09-27 07:39:49 -04:00
parent c8faebba0a
commit bed08a3455
14 changed files with 377 additions and 191 deletions

View File

@@ -156,7 +156,7 @@ const Browser = Module("browser", {
mappings.add([modes.NORMAL], ["<C-l>"],
"Redraw the screen",
function () { dactyl.execute("redraw"); });
function () { commands.get("redraw").action(); });
},
commands: function () {
@@ -188,7 +188,9 @@ const Browser = Module("browser", {
function () {
window.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils).redraw();
modes.show();
commandline.widgets.message = null;
if (modes.main != modes.COMMAND_LINE)
commandline.widgets.command = null;
},
{ argCount: "0" });
}