edit escape key reading

holding down esc works fine now