bahamas10 / omnifetch

Print information about an OmniOS machine.
12 stars 0 forks source link

Output is over 80 columns #2

Closed citrus-it closed 3 months ago

citrus-it commented 4 months ago

Is there any way it can be adjusted or trimmed to fit?

image
citrus-it commented 4 months ago

cf. neofetch

image
bahamas10 commented 4 months ago

i'll take a look at this - with a cursory glance of neofetch i can see that they are parsing the CPU output and massaging the data a bit (https://github.com/dylanaraps/neofetch/blob/ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f/neofetch#L2368-L2384) whereas this tool just sort of dumps what the system sees.

I may be able to borrow some of the logic from neofetch and get something similar

bahamas10 commented 4 months ago

I created a PR #3 based on this issue