I'm using ansi-to-tui in Yazi (a file manager) to parse the ANSI sequences emitted by glow (a markdown renderer) for markdown preview, but the OSC 8 sequences get replaced with blanks, which isn't ideal, it'd be awesome if there were a way to keep those hyperlink texts.
Since the crate returns a Text and Text itself doesn't support hyperlinks and needs a hack to do so at the moment, maybe this requires ratatui/ratatui#902 getting resolved first? Or maybe it can export a custom widget, e.g. a wrapper of Text with that hack, to support more sequences?
I'm using
ansi-to-tuiin Yazi (a file manager) to parse the ANSI sequences emitted byglow(a markdown renderer) for markdown preview, but the OSC 8 sequences get replaced with blanks, which isn't ideal, it'd be awesome if there were a way to keep those hyperlink texts.Since the crate returns a
TextandTextitself doesn't support hyperlinks and needs a hack to do so at the moment, maybe this requires ratatui/ratatui#902 getting resolved first? Or maybe it can export a custom widget, e.g. a wrapper ofTextwith that hack, to support more sequences?