Handle keypresses
Fix order of arguments when calling delete_() in typing