Implement variable width for console UI. The width is specified as a command line argument.