Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2fc275f6
Commit
2fc275f6
authored
Jun 01, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix for getch() and special characters.
parent
73190c41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
console.c
dlls/msvcrt/console.c
+3
-3
No files found.
dlls/msvcrt/console.c
View file @
2fc275f6
...
...
@@ -139,11 +139,11 @@ int CDECL _getch(void)
{
unsigned
idx
;
if
(
ir
.
Event
.
KeyEvent
.
wVirtualScanCod
e
&
(
LEFT_ALT_PRESSED
|
RIGHT_ALT_PRESSED
))
if
(
ir
.
Event
.
KeyEvent
.
dwControlKeyStat
e
&
(
LEFT_ALT_PRESSED
|
RIGHT_ALT_PRESSED
))
idx
=
ALT_CHAR
;
else
if
(
ir
.
Event
.
KeyEvent
.
wVirtualScanCod
e
&
(
LEFT_CTRL_PRESSED
|
RIGHT_CTRL_PRESSED
)
)
else
if
(
ir
.
Event
.
KeyEvent
.
dwControlKeyStat
e
&
(
LEFT_CTRL_PRESSED
|
RIGHT_CTRL_PRESSED
)
)
idx
=
CTRL_CHAR
;
else
if
(
ir
.
Event
.
KeyEvent
.
wVirtualScanCod
e
&
SHIFT_PRESSED
)
else
if
(
ir
.
Event
.
KeyEvent
.
dwControlKeyStat
e
&
SHIFT_PRESSED
)
idx
=
SHIFT_CHAR
;
else
idx
=
NORMAL_CHAR
;
...
...
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