fix more prompt messages

This commit is contained in:
Doug Kearns committed 2008-12-06 12:35:25 +11:00
1 parent ed7549cca7
commit cca40c3067
2 files changed
+3 -2

No files matched your search

+3 -1
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;