mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:48:00 +01:00
Force echomsg to single line, for now
This commit is contained in:
@@ -220,11 +220,11 @@ function AutoCommands() //{{{
|
|||||||
<td class="hl-Title" colspan="2">{event}</td>
|
<td class="hl-Title" colspan="2">{event}</td>
|
||||||
</tr>
|
</tr>
|
||||||
+
|
+
|
||||||
template.map(items, function (item)
|
template.map(items, function (item)
|
||||||
<tr>
|
<tr>
|
||||||
<td> {item.pattern.source}</td>
|
<td> {item.pattern.source}</td>
|
||||||
<td>{item.command}</td>
|
<td>{item.command}</td>
|
||||||
</tr>))
|
</tr>))
|
||||||
}
|
}
|
||||||
</table>);
|
</table>);
|
||||||
|
|
||||||
|
|||||||
@@ -850,7 +850,7 @@ const liberator = (function () //{{{
|
|||||||
// TODO: add proper level constants
|
// TODO: add proper level constants
|
||||||
echomsg: function (str, verbosity, flags)
|
echomsg: function (str, verbosity, flags)
|
||||||
{
|
{
|
||||||
flags |= commandline.APPEND_TO_MESSAGES;
|
flags |= commandline.APPEND_TO_MESSAGES | commandline.FORCE_SINGLELINE;
|
||||||
|
|
||||||
if (verbosity == null)
|
if (verbosity == null)
|
||||||
verbosity = 0; // verbosity level is exclusionary
|
verbosity = 0; // verbosity level is exclusionary
|
||||||
|
|||||||
@@ -651,7 +651,7 @@ function CommandLine() //{{{
|
|||||||
if (flags & this.FORCE_MULTILINE)
|
if (flags & this.FORCE_MULTILINE)
|
||||||
where = setMultiline;
|
where = setMultiline;
|
||||||
else if (flags & this.FORCE_SINGLELINE)
|
else if (flags & this.FORCE_SINGLELINE)
|
||||||
where = setLine;
|
where = function () setLine(str, highlightGroup, true);
|
||||||
else if (!outputContainer.collapsed)
|
else if (!outputContainer.collapsed)
|
||||||
{
|
{
|
||||||
if (flags & this.DISALLOW_MULTILINE)
|
if (flags & this.DISALLOW_MULTILINE)
|
||||||
|
|||||||
Reference in New Issue
Block a user