Set width of output dynamically based on console width