mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 13:14:21 +01:00
Image: fix separated image printing
This commit is contained in:
@@ -111,7 +111,8 @@ static bool printImageIterm(void)
|
||||
else
|
||||
{
|
||||
instance.state.logoWidth = instance.state.logoHeight = 0;
|
||||
ffPrintCharTimes('\n', instance.config.logo.paddingRight);
|
||||
for (uint32_t i = 0; i < instance.config.logo.paddingRight; ++i)
|
||||
ffStrbufAppendC(&buf, '\n');
|
||||
}
|
||||
ffWriteFDBuffer(FFUnixFD2NativeFD(STDOUT_FILENO), &buf);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "modules/uptime/uptime.h"
|
||||
#include "util/stringUtils.h"
|
||||
|
||||
#define FF_UPTIME_NUM_FORMAT_ARGS 4
|
||||
#define FF_UPTIME_NUM_FORMAT_ARGS 7
|
||||
|
||||
void ffPrintUptime(FFUptimeOptions* options)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user