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
67be3530
Commit
67be3530
authored
Oct 27, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Don't ignore extended keys.
parent
b8b0b7fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
console.c
dlls/kernel32/console.c
+1
-2
editline.c
dlls/kernel32/editline.c
+2
-2
No files found.
dlls/kernel32/console.c
View file @
67be3530
...
...
@@ -1377,8 +1377,7 @@ BOOL WINAPI ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer,
{
if
(
read_console_input
(
hConsoleInput
,
&
ir
,
timeout
)
!=
rci_gotone
)
break
;
if
(
ir
.
EventType
==
KEY_EVENT
&&
ir
.
Event
.
KeyEvent
.
bKeyDown
&&
ir
.
Event
.
KeyEvent
.
uChar
.
UnicodeChar
&&
!
(
ir
.
Event
.
KeyEvent
.
dwControlKeyState
&
ENHANCED_KEY
))
ir
.
Event
.
KeyEvent
.
uChar
.
UnicodeChar
)
{
xbuf
[
charsread
++
]
=
ir
.
Event
.
KeyEvent
.
uChar
.
UnicodeChar
;
timeout
=
0
;
...
...
dlls/kernel32/editline.c
View file @
67be3530
...
...
@@ -818,7 +818,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn)
/* EPP WCEL_Dump(&ctx, "before func"); */
ofs
=
ctx
.
ofs
;
/* mask out some bits which don't interest us */
ks
=
ir
.
Event
.
KeyEvent
.
dwControlKeyState
&
~
(
NUMLOCK_ON
|
SCROLLLOCK_ON
|
CAPSLOCK_ON
);
ks
=
ir
.
Event
.
KeyEvent
.
dwControlKeyState
&
~
(
NUMLOCK_ON
|
SCROLLLOCK_ON
|
CAPSLOCK_ON
|
ENHANCED_KEY
);
func
=
NULL
;
for
(
km
=
(
use_emacs
)
?
EmacsKeyMap
:
Win32KeyMap
;
km
->
entries
!=
NULL
;
km
++
)
...
...
@@ -845,7 +845,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn)
if
(
func
)
(
func
)(
&
ctx
);
else
if
(
!
(
ir
.
Event
.
KeyEvent
.
dwControlKeyState
&
(
ENHANCED_KEY
|
LEFT_ALT_PRESSED
)
))
else
if
(
!
(
ir
.
Event
.
KeyEvent
.
dwControlKeyState
&
LEFT_ALT_PRESSED
))
WCEL_InsertChar
(
&
ctx
,
ir
.
Event
.
KeyEvent
.
uChar
.
UnicodeChar
);
else
TRACE
(
"Dropped event
\n
"
);
...
...
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