Took away the new line when the user pressed Enter