Some improvements/fixes
1-FIXED-#13.
Look at the output. There's a useless newline. I have no exclusive/special knowledge in Rust, so I don't know the various macros in the program. I think there could be a fix.
It happens here too.
2.
How about displaying the profile picture on the left of the box? Looks like the viuer crate could do the job.
3.
This never happens if the terminal size is sufficient, but when the terminal is small, the output becomes garbled in a very unfashionable way. Neofetch solves the problem by detecting the terminal size and cutting the output. Looks like https://docs.rs/term_size/0.3.2/term_size/ could help you out.
there is a hardcoded spacing for the terminal box, maybe that is what caused the # 3 problems, other than that ill try to look into it
I dont think the 1-2 issue should be a big problems though, neofetch also have it and it is in bash iirc, How about add a new line at the start to balance it out? Maybe if we cant hide it maybe we could just embrace it? :D
I dont think the 1-2 issue should be a big problems though,
neofetchalso have it and it is in bash iirc, How about add a new line at the start to balance it out? Maybe if we cant hide it maybe we could just embrace it? :D
If you said that to Linus, he would've ranted like crazy tho anyways I think adding an xtra newline at the top would make sense too
there is a hardcoded spacing for the terminal box, maybe that is what caused the # 3 problems, other than that ill try to look into it
Save the variable using the term_size function and use it in let dashes = "─".repeat(self.longest_line + 3 - 18); somehow, I don't know Rust-specific stuff
I dont remember what the - 18 is for, but it solved my problems earlier. Maybe ill try to get term size and use in the math itself
for the - 18: i think the push functions also counts the main_color and accent_color into its length too, thats why i use -18 to deduct it out, i think its also works like that too