mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
Cursor: Don't print 0px
This commit is contained in:
@@ -31,7 +31,7 @@ void ffPrintCursor(FFCursorOptions* options)
|
||||
ffPrintLogoAndKey(FF_CURSOR_MODULE_NAME, 0, &options->moduleArgs, FF_PRINT_TYPE_DEFAULT);
|
||||
ffStrbufWriteTo(&result.theme, stdout);
|
||||
|
||||
if(result.size.length > 0)
|
||||
if(result.size.length > 0 && !ffStrbufEqualS(&result.size, "0"))
|
||||
printf(" (%spx)", result.size.chars);
|
||||
|
||||
putchar('\n');
|
||||
|
||||
Reference in New Issue
Block a user