mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:49:31 +02:00
+ Added missing translatekeyevent after getkey, thanks to Pierre Pomes
This commit is contained in:
parent
c5c6a10a87
commit
215ed78e32
@ -12,6 +12,7 @@ begin
|
||||
Writeln('Press keys, press "q" to end.');
|
||||
Repeat
|
||||
K:=GetKeyEvent;
|
||||
K:=TranslateKeyEvent(K);
|
||||
Write('Got key event with ');
|
||||
Case GetKeyEventFlags(K) of
|
||||
kbASCII : Writeln('ASCII key');
|
||||
|
Loading…
Reference in New Issue
Block a user