clear commandLine when mouse is pressed