1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 17:27:59 +01:00

fix more prompt messages

This commit is contained in:
Doug Kearns
2008-12-06 12:34:38 +11:00
parent ed7549cca7
commit cca40c3067
2 changed files with 3 additions and 2 deletions

View File

@@ -1354,8 +1354,10 @@ function CommandLine() //{{{
updateMorePrompt: function updateMorePrompt(force, showHelp)
{
if (modes.main == modes.COMMAND_LINE)
// prevent MOW events (still useful) from wiping out the command-line when in EX extended mode
if (modes.extended != modes.OUTPUT_MULTILINE)
return;
let win = multilineOutputWidget.contentWindow;
function isScrollable() !win.scrollMaxY == 0;
function atEnd() win.scrollY / win.scrollMaxY >= 1;