> On Sun, 15 Feb 2015 19:35:51 +0100 > k...@shike2.com wrote: > >> I like your solution, but I think COLUMNS should have a bigger >> priority, because in this case user can define a different value of >> the current width. > > Okay, then do 3 fallbacks > > ioctl -> getenv -> fixed width >
Ups, I didn't explain it correctly. My idea was getenv -> ioctl -> fixed width