[BUG] `fastfetch --print-logos` output is in a peculiar order

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

$ fastfetch --print-logos > fastfetch-logos.out

Resulting file has the logos in it, interspersed with logo titles like (the last three in the file):

-- but in fact the logos end long before the titles; in my test, the last 61 titles appear without any logos between them. It is as if the 'output logos' and 'output logo titles' activities are conducted on separate, un-synchronized threads. (Did not investigate source.)

Here is a little more evidence:

$ tail -n40 fastfetch-logos.out | hd
00000000  1b 5b 33 34 6d 5a 6f 72  69 6e 3a 1b 5b 30 6d 0a  |.[34mZorin:.[0m.|
00000010  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |................|
00000020  0a 0a 1b 5b 33 34 6d 7a  2f 4f 53 3a 1b 5b 30 6d  |...[34mz/OS:.[0m|
00000030  0a 0a 0a 0a 0a 0a 0a 0a  0a 1b 5b 33 34 6d 5a 72  |..........[34mZr|
00000040  61 78 79 6c 3a 1b 5b 30  6d 0a 0a 0a 0a 0a 0a 0a  |axyl:.[0m.......|
00000050  0a 0a 0a 0a 0a                                    |.....|
00000055
$ grep -E -n 'Zrax|Z.R.A.X' fastfetch-logos.out | hd
00000000  31 35 39 30 34 3a 7c 20  7c 20 20 20 20 5a 20 52  |15904:| |    Z R|
00000010  20 41 20 58 20 59 20 4c  20 20 20 7c 20 7c 0a 31  | A X Y L   | |.1|
00000020  37 30 32 36 3a 1b 5b 33  34 6d 5a 72 61 78 79 6c  |7026:.[34mZraxyl|
00000030  3a 1b 5b 30 6d 0a                                 |:.[0m.|
00000036

1st dump demonstrates that the titles appear in a gaggle at the end; 2nd dump shows that the last logo and its corresponding title are >2000 lines apart in the output.

Version used

fastfetch 2.55.1 (x86_64)

Bug prevalence

Always

Regression

Not sure

Installation

Package manager

Package manager

apt

Screenshots

See description

Configuration

System information

Features built-in