12 references to CSI
Microsoft.Build.Framework (12)
Logging\AnsiCodes.cs (12)
20
/// Print <see cref="
CSI
"/>color-code<see cref="SetColor"/> to change text color.
28
/// Print <see cref="
CSI
"/><see cref="SetBold"/> to change text to bold.
35
public const string SetDefaultColor =
CSI
+ "m";
59
/// Print <see cref="
CSI
"/>N<see cref="MoveUpToLineStart"/> to move N lines up.
67
/// Print <see cref="
CSI
"/>N<see cref="MoveForward"/> to move N characters forward.
75
/// Print <see cref="
CSI
"/>N<see cref="MoveBackward"/> to move N characters backward.
83
/// Print <see cref="
CSI
"/><see cref="EraseInDisplay"/> to clear.
91
/// Print <see cref="
CSI
"/><see cref="EraseInLine"/> to clear.
132
return $"{
CSI
}{(int)color}{SetColor}{s}{SetDefaultColor}";
142
return $"{
CSI
}{SetBold}{s}{SetDefaultColor}";
145
public static string MoveCursorBackward(int count) => $"{
CSI
}{count}{MoveBackward}";
152
public static string SetCursorHorizontal(int column) => $"{
CSI
}{column}G";