Method CSI_SetForegroundColor | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

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

Edit this page