erase input line when hit esc