Save more screen space by removing the space befor the * for einfo and friends. Also remove the leading space before ... for ebegin.
This commit is contained in:
parent
fe12134a5b
commit
5403e70313
@ -643,7 +643,7 @@ _einfo(FILE *f, ECOLOR color, const char *EINFO_RESTRICT fmt, va_list va)
|
|||||||
fprintf(f, "\n");
|
fprintf(f, "\n");
|
||||||
if (_eprefix)
|
if (_eprefix)
|
||||||
fprintf(f, "%s%s%s|", _ecolor(f, color), _eprefix, _ecolor(f, ECOLOR_NORMAL));
|
fprintf(f, "%s%s%s|", _ecolor(f, color), _eprefix, _ecolor(f, ECOLOR_NORMAL));
|
||||||
fprintf(f, " %s*%s ", _ecolor(f, color), _ecolor(f, ECOLOR_NORMAL));
|
fprintf(f, "%s*%s ", _ecolor(f, color), _ecolor(f, ECOLOR_NORMAL));
|
||||||
retval += _eindent(f);
|
retval += _eindent(f);
|
||||||
va_copy(ap, va);
|
va_copy(ap, va);
|
||||||
retval += vfprintf(f, fmt, ap) + 3;
|
retval += vfprintf(f, fmt, ap) + 3;
|
||||||
@ -800,7 +800,7 @@ ebegin(const char *EINFO_RESTRICT fmt, ...)
|
|||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
retval = _einfovn(fmt, ap);
|
retval = _einfovn(fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
retval += printf(" ...");
|
retval += printf("...");
|
||||||
if (colour_terminal(stdout))
|
if (colour_terminal(stdout))
|
||||||
retval += printf("\n");
|
retval += printf("\n");
|
||||||
LASTCMD("ebegin");
|
LASTCMD("ebegin");
|
||||||
@ -1029,7 +1029,7 @@ ebeginv(const char *EINFO_RESTRICT fmt, ...)
|
|||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
retval = _einfovn(fmt, ap);
|
retval = _einfovn(fmt, ap);
|
||||||
retval += printf(" ...");
|
retval += printf("...");
|
||||||
if (colour_terminal(stdout))
|
if (colour_terminal(stdout))
|
||||||
retval += printf("\n");
|
retval += printf("\n");
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
Loading…
Reference in New Issue
Block a user