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

Dont show the MORE prompt in command line mode.

This commit is contained in:
Kris Maglione
2008-11-30 01:01:06 +00:00
parent 4a0fb1e3c7
commit 6bc100c356
2 changed files with 5 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ function Bookmarks() //{{{
bookmarks = [];
this.__defineGetter__("bookmarks", function () bookmarks);
var folders = rootFolders.concat([]);
var folders = rootFolders.slice();
var query = historyService.getNewQuery();
var options = historyService.getNewQueryOptions();
while (folders.length > 0)

View File

@@ -755,6 +755,8 @@ function CommandLine() //{{{
return false;
if (silent)
return false;
if (modes.main == modes.COMMAND_LINE)
return false;
highlightGroup = highlightGroup || this.HL_NORMAL;
@@ -1206,6 +1208,8 @@ function CommandLine() //{{{
updateMorePrompt: function updateMorePrompt(force, showHelp)
{
if (modes.main == modes.COMMAND_LINE)
return;
let win = multilineOutputWidget.contentWindow;
function isScrollable() !win.scrollMaxY == 0;
function atEnd() win.scrollY / win.scrollMaxY >= 1;