> Maybe you don't wait until the key is released before exiting the prog ? You are right, I don't know why I didn't thought about this befor ! thank you.