22 references to CSI
dotnet (22)
Commands\Test\MTP\Terminal\AnsiCodes.cs (12)
25/// Print <see cref="CSI"/>color-code<see cref="SetColor"/> to change text color. 33/// Print <see cref="CSI"/><see cref="SetBold"/> to change text to bold. 40public const string SetDefaultColor = CSI + "m"; 64/// Print <see cref="CSI"/>N<see cref="MoveUpToLineStart"/> to move N lines up. 72/// Print <see cref="CSI"/>N<see cref="MoveForward"/> to move N characters forward. 80/// Print <see cref="CSI"/>N<see cref="MoveBackward"/> to move N characters backward. 88/// Print <see cref="CSI"/><see cref="EraseInDisplay"/> to clear. 96/// Print <see cref="CSI"/><see cref="EraseInLine"/> to clear. 131=> string.IsNullOrWhiteSpace(s) ? s ?? string.Empty : $"{CSI}{(int)color}{SetColor}{s}{SetDefaultColor}"; 134=> string.IsNullOrWhiteSpace(s) ? s ?? string.Empty : $"{CSI}{SetBold}{s}{SetDefaultColor}"; 136public static string MoveCursorBackward(int count) => $"{CSI}{count}{MoveBackward}"; 143public static string SetCursorHorizontal(int column) => $"{CSI}{column}G";
Commands\Test\MTP\Terminal\AnsiTerminal.cs (4)
103string setColor = $"{AnsiCodes.CSI}{(int)color}{AnsiCodes.SetColor}"; 235string moveCursor = $"{AnsiCodes.CSI}{lineCount}{AnsiCodes.MoveUpToLineStart}"; 269AppendLine($"{AnsiCodes.CSI}{_currentFrame.RenderedLines.Count + 2}{AnsiCodes.MoveUpToLineStart}"); 270Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInDisplay}");
Commands\Test\MTP\Terminal\AnsiTerminalTestProgressFrame.cs (5)
257terminal.Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInLine}"); 264terminal.Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInLine}"); 292terminal.Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInLine}"); 299terminal.Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInLine}"); 331terminal.Append($"{AnsiCodes.CSI}{AnsiCodes.EraseInDisplay}");
Commands\Test\MTP\Terminal\SimpleAnsiTerminal.cs (1)
51string setColor = $"{AnsiCodes.CSI}{(int)color}{AnsiCodes.SetColor}";