Provided Console Control Event explanation as comments in the sim_console code.
This commit is contained in:
parent
4ce92b4f38
commit
4ab52659be
1 changed files with 7 additions and 0 deletions
|
@ -930,6 +930,13 @@ static HANDLE std_input;
|
|||
static HANDLE std_output;
|
||||
static DWORD saved_mode;
|
||||
|
||||
/* Note: This routine catches all the potential events which some aspect
|
||||
of the windows system can generate. The CTRL_C_EVENT won't be
|
||||
generated by a user typing in a console session since that
|
||||
session is in RAW mode. In general, Ctrl-C on a simulator's
|
||||
console terminal is a useful character to be passed to the
|
||||
simulator. This code does nothing to disable or affect that. */
|
||||
|
||||
static BOOL WINAPI
|
||||
ControlHandler(DWORD dwCtrlType)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue