Table of Contents

Method CSI_SetForegroundColor

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

CSI_SetForegroundColor(AnsiColorCode)

ESC [ (n) m - Uses CSI_SetGraphicsRendition(params int[]) to set the foreground color.

public static string CSI_SetForegroundColor(AnsiColorCode code)

Parameters

code AnsiColorCode

One of the 16 color codes.

Returns

string