var styled = new Text("Styled Text", new Style(foreground: Color.Blue)); AnsiConsole.Write(styled); Use code with caution. Copied to clipboard
To generate and display text using the in Spectre.Console, you can follow these basic implementation steps:
var text = new Text("Hello, Spectre Menu!"); AnsiConsole.Write(text); Use code with caution. Copied to clipboard
Spectre | Menu V1.2
var styled = new Text("Styled Text", new Style(foreground: Color.Blue)); AnsiConsole.Write(styled); Use code with caution. Copied to clipboard
To generate and display text using the in Spectre.Console, you can follow these basic implementation steps:
var text = new Text("Hello, Spectre Menu!"); AnsiConsole.Write(text); Use code with caution. Copied to clipboard