Have copy ansi working even if selection is de-selected after click