Actually get the console width rather than hardcoding to 80 columns