Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a9669133
Commit
a9669133
authored
Sep 04, 2002
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed console sizing at startup.
parent
0589f726
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
winedbg.c
debugger/winedbg.c
+3
-14
No files found.
debugger/winedbg.c
View file @
a9669133
...
@@ -957,8 +957,6 @@ static BOOL WINAPI DEBUG_CtrlCHandler(DWORD dwCtrlType)
...
@@ -957,8 +957,6 @@ static BOOL WINAPI DEBUG_CtrlCHandler(DWORD dwCtrlType)
static
void
DEBUG_InitConsole
(
void
)
static
void
DEBUG_InitConsole
(
void
)
{
{
COORD
c
;
SMALL_RECT
sr
;
DWORD
mode
;
DWORD
mode
;
/* keep it as a cuiexe for now, so that Wine won't touch the Unix stdin,
/* 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)
...
@@ -970,24 +968,15 @@ static void DEBUG_InitConsole(void)
AllocConsole
();
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) */
/* put the line editing mode with the nice emacs features (FIXME: could be triggered by a IVAR) */
if
(
GetConsoleMode
(
GetStdHandle
(
STD_INPUT_HANDLE
),
&
mode
))
if
(
GetConsoleMode
(
GetStdHandle
(
STD_INPUT_HANDLE
),
&
mode
))
SetConsoleMode
(
GetStdHandle
(
STD_INPUT_HANDLE
),
mode
|
WINE_ENABLE_LINE_INPUT_EMACS
);
SetConsoleMode
(
GetStdHandle
(
STD_INPUT_HANDLE
),
mode
|
WINE_ENABLE_LINE_INPUT_EMACS
);
/* set our control-C handler */
/* set our control-C handler */
SetConsoleCtrlHandler
(
DEBUG_CtrlCHandler
,
TRUE
);
SetConsoleCtrlHandler
(
DEBUG_CtrlCHandler
,
TRUE
);
/* set our own title */
SetConsoleTitle
(
"Wine Debugger"
);
}
}
static
int
DEBUG_Usage
(
void
)
static
int
DEBUG_Usage
(
void
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment