handle KEYCODE_ENTER