mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
better cursor support
This commit is contained in:
@@ -57,12 +57,17 @@ static void printBattery(FFinstance* instance, FFstrbuf* dir, uint32_t index)
|
||||
putchar('%');
|
||||
|
||||
if(showStatus)
|
||||
fputs("; ", stdout);
|
||||
fputs(" [", stdout);
|
||||
}
|
||||
|
||||
if(showStatus)
|
||||
{
|
||||
ffStrbufWriteTo(&status, stdout);
|
||||
|
||||
if(capacity.length > 0)
|
||||
putchar(']');
|
||||
}
|
||||
|
||||
putchar('\n');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user