submitting console with enter key