|
Boost : |
From: Bertolt Mildner (Bertolt.Mildner_at_[hidden])
Date: 2004-12-05 20:48:31
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk