Reads a character from keyboard (window)
$window
This function is currently not documented; only its argument list is available.
window