clear search buffer when hitting return