treehouses / cli

cli 🦄 for raspberry pi images of type treehouses
https://www.npmjs.com/package/@treehouses/cli
GNU Affero General Public License v3.0
45 stars 20 forks source link

treehouses help hard to read #1272

Open vkabc opened 4 years ago

vkabc commented 4 years ago
Screenshot 2020-05-15 at 8 41 01 PM
LordJashin32 commented 4 years ago

maybe we could check for terminal width/height. and adjust helped based on that. as a sort of responsiveness. It would be better to multiline some of these if they don't fit. Maybe there's some solution to prettify this output based on not allowing it to carryon to new line. like word wrap?

LordJashin32 commented 4 years ago

Here's our options. We can pipe the output of treehouses help to less -S to allow horizontal/vertical scrolling. Or we can use setterm -linewrap on setterm -linewrap off but no horizontal scrolling. Or we can provide both options.

kjong commented 4 years ago

I think the problem here is more that there are lines that are too long and should be broken up into 2 or more lines.

Look at ap for instance. It's 135 columns long. I feel like the lines should be shorter than 80 columns or so.

LordJashin32 commented 4 years ago

agreed