6 Dec
                
                    2004
                
            
            
                6 Dec
                
                '04
                
            
            
            
        
    
                4:48 a.m.
            
        Looks like there is not much interest in my patch!? In case someone is interested here is new verseion with line length added as a parameter to options_description ctor. BTW: on Win32 getting the line length of the current console is as easy as: HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE); if (console != NULL) { CONSOLE_SCREEN_BUFFER_INFO buffer_info; if (GetConsoleScreenBufferInfo(console, &buffer_info)) { line_length = buffer_info.dwSize.X; } CloseHandle(console); } Bertolt