Fix incorrect results when special keys are pressed
Clarify documentation