Re:Spectre.Console lets you make beautiful console apps with...
by fratajcz on Tuesday November 24, 2020 @08:34AM
(#25198264)
You can check if stdout is a tty: if it's not, you output raw text. GNU ls does this: by default it outputs in a multiple column layout, but when piped, it outputs one file per line.
[ Parent
| on HN ]
There are no comments on this comment yet.