Наследование: System.CommandLine.Rendering.Span
 public override void VisitCursorControlSpan(CursorControlSpan cursorControlSpan)
 {
     if (_styleControlCodeMappings.TryGetValue(cursorControlSpan.Name, out var controlCode))
     {
         Writer.Write(controlCode.EscapeSequence);
     }
 }
        public override void VisitCursorControlSpan(CursorControlSpan cursorControlSpan)
        {
            switch (cursorControlSpan.Name)
            {
            case nameof(CursorControlSpan.Hide):
                Terminal.HideCursor();
                break;

            case nameof(CursorControlSpan.Show):
                Terminal.ShowCursor();
                break;
            }
        }