Converts a Link to respect the given terminal color profile.
profile
Link convertLink(Link link, cp.Profile profile) { if (profile == cp.Profile.noTty) return const Link(); return link; }