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

Force echomsg to single line, for now

This commit is contained in:
Kris Maglione
2008-10-29 16:48:01 +00:00
parent f86f2dcee5
commit d21c5fac6c
3 changed files with 7 additions and 7 deletions

View File

@@ -850,7 +850,7 @@ const liberator = (function () //{{{
// TODO: add proper level constants
echomsg: function (str, verbosity, flags)
{
flags |= commandline.APPEND_TO_MESSAGES;
flags |= commandline.APPEND_TO_MESSAGES | commandline.FORCE_SINGLELINE;
if (verbosity == null)
verbosity = 0; // verbosity level is exclusionary

View File

@@ -651,7 +651,7 @@ function CommandLine() //{{{
if (flags & this.FORCE_MULTILINE)
where = setMultiline;
else if (flags & this.FORCE_SINGLELINE)
where = setLine;
where = function () setLine(str, highlightGroup, true);
else if (!outputContainer.collapsed)
{
if (flags & this.DISALLOW_MULTILINE)