1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:07:59 +01:00

Force single-line more message

This commit is contained in:
Kris Maglione
2008-12-06 10:06:48 -05:00
parent 2df1016bd5
commit 5318a24d5a

View File

@@ -1362,11 +1362,11 @@ function CommandLine() //{{{
function atEnd() win.scrollY / win.scrollMaxY >= 1;
if (showHelp)
setLine("-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit", this.HL_MOREMSG);
setLine("-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit", this.HL_MOREMSG, true);
else if (force || (options["more"] && isScrollable() && !atEnd()))
setLine("-- More --", this.HL_MOREMSG);
setLine("-- More --", this.HL_MOREMSG, true);
else
setLine("Press ENTER or type command to continue", this.HL_QUESTION);
setLine("Press ENTER or type command to continue", this.HL_QUESTION, true);
},
updateOutputHeight: function updateOutputHeight(open)