Getch() Problem: C vs D

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 9 18:04:07 PST 2017


On Tuesday, 10 January 2017 at 01:06:53 UTC, LouisHK wrote:
> So, I thought a little bit and I changed the terminal.d to 
> check on the KeyEvent if the KeyEvent.bKeyDown is true, 
> otherwise assigns a null event, and it's working fine and now I 
> can get the ESCAPE key. :)

What line did you change? Maybe I can merge your change in, 
though I gotta make sure it doesn't break the key release events 
(which are supposed to be opt-in, so they should be ignored by 
default, but they are also supposed to be processable.)



More information about the Digitalmars-d-learn mailing list