mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 12:29:08 +02:00
* Empty the keyboard buffer in DoneKeyboard
This commit is contained in:
parent
a81c855602
commit
3d7b736511
@ -218,6 +218,7 @@ begin
|
||||
exit;
|
||||
SetKeyboardEventHandler(nil); {hangs???}
|
||||
DeleteCriticalSection (lockVar);
|
||||
FlushConsoleInputBuffer(TextRec(Input).Handle);
|
||||
closeHandle (newKeyEvent);
|
||||
KeyboardActive:=false;
|
||||
end;
|
||||
@ -787,7 +788,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.1 2000-01-06 01:20:31 peter
|
||||
Revision 1.2 2000-05-19 13:02:25 pierre
|
||||
* Empty the keyboard buffer in DoneKeyboard
|
||||
|
||||
Revision 1.1 2000/01/06 01:20:31 peter
|
||||
* moved out of packages/ back to topdir
|
||||
|
||||
Revision 1.2 1999/12/13 14:09:37 pierre
|
||||
@ -825,4 +829,4 @@ end;
|
||||
|
||||
Revision 1.1 1998/10/26 11:31:49 peter
|
||||
+ inital include files
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user