Figure out the terminal width before clipping

This allows me to provide significantly nicer "scan" results.  Note
that it adds an ncurses dependency, but I figure that's fine because
it's going to be everywhere anyway.