mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:42:26 +01:00
Dont show the MORE prompt in command line mode.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user