ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 49 forks source link

Resort to fallback method if we can't get the active window (Fixes #38) #42

Closed allisio closed 4 years ago

ss7m commented 4 years ago

I'm not sure I'm so comfortable putting a goto into the code

allisio commented 4 years ago

Why's that?

ss7m commented 4 years ago

Upon further thought, I suppose it's fine. I think I just have a negative response to goto statements ingrained in me, perhaps unfairly.

allisio commented 4 years ago

They can certainly be used to write extremely confusing and hard-to-follow code, but we're just doing a very short hop here to avoid a bit of code duplication.