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
9864f9c0
Commit
9864f9c0
authored
Sep 01, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost: Support CTRL_C_EVENT in write_console_input.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b23ef1d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
conhost.c
programs/conhost/conhost.c
+8
-1
No files found.
programs/conhost/conhost.c
View file @
9864f9c0
...
@@ -250,7 +250,14 @@ static NTSTATUS write_console_input( struct console *console, const INPUT_RECORD
...
@@ -250,7 +250,14 @@ static NTSTATUS write_console_input( struct console *console, const INPUT_RECORD
count
--
;
count
--
;
if
(
records
[
i
].
Event
.
KeyEvent
.
bKeyDown
)
if
(
records
[
i
].
Event
.
KeyEvent
.
bKeyDown
)
{
{
FIXME
(
"CTRL C
\n
"
);
struct
condrv_ctrl_event
ctrl_event
;
IO_STATUS_BLOCK
io
;
ctrl_event
.
event
=
CTRL_C_EVENT
;
ctrl_event
.
group_id
=
0
;
NtDeviceIoControlFile
(
console
->
server
,
NULL
,
NULL
,
NULL
,
&
io
,
IOCTL_CONDRV_CTRL_EVENT
,
&
ctrl_event
,
sizeof
(
ctrl_event
),
NULL
,
0
);
}
}
}
}
else
i
++
;
else
i
++
;
...
...
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