This method extracts the selected text in a form that includes escape sequences. refs: https://github.com/wez/wezterm/issues/2223
This method extracts the selected text in a form that includes escape sequences. refs: https://github.com/wez/wezterm/issues/2223