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