Skip to main content Skip to in-page navigation Skip to Ask Learn chat experience

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English Edit

Note

Access to this page requires authorization. You can try signing in or changing directories.

Access to this page requires authorization. You can try changing directories.

System.CommandLine.Rendering Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Classes

Name Description
Ansi
Ansi.Clear
Ansi.Color
Ansi.Color.Background
Ansi.Color.Foreground
Ansi.Cursor
Ansi.Cursor.Move
Ansi.Cursor.Scroll
Ansi.Text
AnsiControlCode
BackgroundColorSpan
ColorSpan
ConsoleExtensions
ConsoleFormatInfo
ConsoleRenderer
ContainerSpan
ContentSpan
ControlSpan
CursorControlSpan
ForegroundColorSpan
Region
RgbColor
Size
StyleSpan
SystemConsoleTerminal
Terminal
TerminalBase
TestTerminal
TestTerminal.AnsiControlCodeWritten
TestTerminal.BackgroundColorChanged
TestTerminal.Cleared
TestTerminal.ColorReset
TestTerminal.ConsoleEvent
TestTerminal.ContentWritten
TestTerminal.CursorHidden
TestTerminal.CursorPositionChanged
TestTerminal.CursorShown
TestTerminal.ForegroundColorChanged
TextRendered
TextSpan
TextSpanFormatter
TextSpanVisitor
VirtualTerminal
VirtualTerminalMode

Interfaces

Name Description
ITerminal

Enums

Name Description
OutputMode
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

.NET

Open a documentation issue Provide product feedback

Feedback

Was this page helpful?

No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

In this article

Was this page helpful?

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Consumer Health Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2026