--- a/Main/SLNTools.exe/CommandLine/CommandLineParser.cs
+++ b/Main/SLNTools.exe/CommandLine/CommandLineParser.cs
@@ -544,6 +544,8 @@
/// Returns the number of columns in the current console window
public static int GetConsoleWindowWidth()
{
+ return Console.WindowWidth;
+/*
int screenWidth;
CONSOLE_SCREEN_BUFFER_INFO csbi = new CONSOLE_SCREEN_BUFFER_INFO();
@@ -551,6 +553,7 @@
rc = GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), ref csbi);
screenWidth = csbi.dwSize.x;
return screenWidth;
+*/
}
///