How wide is a string when displayed in the console window?
Not too long ago, I had to fix the command line output for tf.exe, the Team Foundation Version Control command line app, so that output would be formatted properly for console windows (cmd.exe) using double-byte code pages.The code originally computed the output display width as the length of the string. However, that's not correct when ...