From a96691335a568a484e0ee2c5c7d0bd1321d34625 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 4 Sep 2002 18:42:13 +0000 Subject: [PATCH] Removed console sizing at startup. --- debugger/winedbg.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/debugger/winedbg.c b/debugger/winedbg.c index fcb64164c3c..476b76a91e8 100644 --- a/debugger/winedbg.c +++ b/debugger/winedbg.c @@ -957,8 +957,6 @@ static BOOL WINAPI DEBUG_CtrlCHandler(DWORD dwCtrlType) static void DEBUG_InitConsole(void) { - COORD c; - SMALL_RECT sr; DWORD mode; /* keep it as a cuiexe for now, so that Wine won't touch the Unix stdin, @@ -970,24 +968,15 @@ static void DEBUG_InitConsole(void) AllocConsole(); } - /* this would be nicer for output */ - c.X = 132; - c.Y = 500; - SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), c); - - /* sets the console's window width accordingly */ - sr.Left = 0; - sr.Top = 0; - sr.Right = c.X - 1; - sr.Bottom = 50; - SetConsoleWindowInfo(GetStdHandle(STD_OUTPUT_HANDLE), TRUE, &sr); - /* put the line editing mode with the nice emacs features (FIXME: could be triggered by a IVAR) */ if (GetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), &mode)) SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), mode | WINE_ENABLE_LINE_INPUT_EMACS); /* set our control-C handler */ SetConsoleCtrlHandler(DEBUG_CtrlCHandler, TRUE); + + /* set our own title */ + SetConsoleTitle("Wine Debugger"); } static int DEBUG_Usage(void)