Query terminal width from STDOUT_FILENO

Rather than 0 (stdin). So it will work even if ninja's stdin isn't connected to
the terminal for whatever reason.
1 file changed