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

Update TODO, add :colo default (== :hi clear)

This commit is contained in:
Kris Maglione
2008-12-16 16:42:10 -05:00
parent ad94daa5a7
commit ff8cd3e194
4 changed files with 21 additions and 17 deletions

View File

@@ -941,6 +941,7 @@ function CommandLine() //{{{
if (!keepCommand || this.silent)
{
outputContainer.collapsed = true;
commandline.updateMorePrompt();
this.hide();
}
if (!outputContainer.collapsed)
@@ -1390,6 +1391,9 @@ function CommandLine() //{{{
updateMorePrompt: function updateMorePrompt(force, showHelp)
{
if (outputContainer.collapsed)
return echoLine("", this.HL_NORMAL);
let win = multilineOutputWidget.contentWindow;
function isScrollable() !win.scrollMaxY == 0;
function atEnd() win.scrollY / win.scrollMaxY >= 1;