Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
40d578c9
Commit
40d578c9
authored
Jun 20, 1995
by
Richard M. Stallman
Browse files
(ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.
parent
71918b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/w32console.c
src/w32console.c
+4
-2
No files found.
src/w32console.c
View file @
40d578c9
...
...
@@ -82,11 +82,13 @@ HANDLE keyboard_handle;
/* Setting this as the ctrl handler prevents emacs from being killed when
* someone hits ^C in a 'suspended' session (child shell). */
someone hits ^C in a 'suspended' session (child shell).
Also ignore Ctrl-Break signals. */
BOOL
ctrl_c_handler
(
unsigned
long
type
)
{
return
(
type
==
CTRL_C_EVENT
)
?
TRUE
:
FALSE
;
return
(
type
==
CTRL_C_EVENT
||
type
==
CTRL_BREAK_EVENT
)
;
}
/* If we're updating a frame, use it as the current frame
...
...
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