Files
fastfetch/src/modules/separator.c
T

14 lines
333 B
C
Raw Normal View History

2021-02-18 22:25:36 +01:00
#include "fastfetch.h"
2021-05-15 12:36:25 +02:00
void ffPrintSeparator(FFinstance* instance)
2021-02-18 22:25:36 +01:00
{
const FFTitleResult* result = ffDetectTitle(instance);
uint32_t titleLength = result->userName.length + 1 + result->hostname.length;
2021-02-27 18:30:05 +01:00
ffPrintLogoLine(instance);
2021-02-18 22:25:36 +01:00
for(uint32_t i = 0; i < titleLength; i++)
2021-02-18 22:25:36 +01:00
putchar('-');
putchar('\n');
2021-03-27 18:14:19 +01:00
}