rename get_key_by
show the cursor only where it's wanted