Terminal.GetTerminal(IConsole, Boolean, OutputMode) Method
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.
C#
public static System.CommandLine.Rendering.ITerminal GetTerminal(this System.CommandLine.IConsole console, bool preferVirtualTerminal = true, System.CommandLine.Rendering.OutputMode outputMode = System.CommandLine.Rendering.OutputMode.Auto);
static member GetTerminal : System.CommandLine.IConsole * bool * System.CommandLine.Rendering.OutputMode -> System.CommandLine.Rendering.ITerminal
<Extension()>
Public Function GetTerminal (console As IConsole, Optional preferVirtualTerminal As Boolean = true, Optional outputMode As OutputMode = System.CommandLine.Rendering.OutputMode.Auto) As ITerminal
- console
- IConsole
- preferVirtualTerminal
- Boolean
- outputMode
- OutputMode
Product | Versions |
---|---|
.NET Standard | 2.0 (package-provided) |
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 feedback
.NET is an open source project. Select a link to provide feedback: