28 Dec
2006
28 Dec
'06
5:17 p.m.
On 12/28/06, Dan McGee <dpmcgee@gmail.com> wrote:
I also noticed another funny issue. Run a 'pacman -Ss pacman > anyfile', and notice how each word of the description ends up on its own line. pacman 2 didn't do this, kind of an interesting behavior. I can try and look into this too.
Oh damn, didn't think about that one. That has to do with the way it determines the width for the description by getting the terminal width. (Which is 0 or null when not outputting to a terminal). So, I need to check if we're a tty in getcols (simple fix).