19 references to CSI
Microsoft.Build (7)
Logging\TerminalLogger\Terminal.cs (2)
191
.Append(AnsiCodes.
CSI
)
213
WriteLine($"{AnsiCodes.
CSI
}{(int)color}{AnsiCodes.SetColor}{text}{AnsiCodes.SetDefaultColor}");
Logging\TerminalLogger\TerminalLogger.cs (2)
1538
Terminal.WriteLine($"{AnsiCodes.
CSI
}{_currentFrame.NodesCount + 1}{AnsiCodes.MoveUpToLineStart}");
1539
Terminal.Write($"{AnsiCodes.
CSI
}{AnsiCodes.EraseInDisplay}");
Logging\TerminalLogger\TerminalNodesFrame.cs (3)
124
sb.AppendLine($"{AnsiCodes.
CSI
}{previousFrame.NodesCount + 1}{AnsiCodes.MoveUpToLineStart}");
143
sb.Append($"{AnsiCodes.
CSI
}{AnsiCodes.EraseInLine}");
160
sb.Append($"{AnsiCodes.
CSI
}{AnsiCodes.EraseInDisplay}");
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";