ansi_set_text_color function

String ansi_set_text_color(
  1. AnsiForegroundColor color
)

Implementation

String ansi_set_text_color(
  final AnsiForegroundColor color,
) {
  return _ansi_select_graphics_rendition(
    GraphicsRenditionNodeColorImpl(
      color.foreground_color_code,
    ),
  );
}