On Montag, 12. April 2010, Bert Huijben wrote:
> Well, on Windows consoles are all 80 characters wide. (You can fix this if
> you are a frequent Command Prompt User, but most applications just assume
> 80 characters on Windows. And in many cases Windows switches back to 80
> characters if it detects direct screen operations)
> The tab width is not globally configurable on Windows.
Do you regularly look at the output in a console? Without piping into a file
and looking at that with an editor?
And if you're using subversion at the command line in windows, you don't know
that the window could be bigger? Possible, of course, but not likely, I think.
And I'd expect subversion just to write to STDOUT, so the argument about
direct screen operations doesn't apply.
Do you suggest cutting the output at 79 characters (or whatever the screen
width is), if we detect that the output is a window (ie. STDOUT a tty)? Maybe
not a bad idea, too.
> We have all these values in memory during traversal so calculating it
> shouldn't be a performance issue.
Received on 2010-04-12 15:14:40 CEST