Detection of carriage return for the search box.