raspberrypi / picotool

BSD 3-Clause "New" or "Revised" License
525 stars 86 forks source link

set default terminal size if ioctl fails #97

Open josch opened 1 month ago

josch commented 1 month ago

This is necessary to run picotool with tools that consume its --help output like help2man. Otherwise, terminal width will be set to bogus values like zero on i386 or 52446 on x86_64.