mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-29 12:05:47 +08:00
Add method to write VT/ANSI control codes
Adds a new extension method IAnsiConsole.WriteAnsi that writes VT/ANSI control codes to the console. If VT/ANSI control codes are not supported, nothing will be written.
This commit is contained in:
committed by
Phil Scott
parent
91f910326c
commit
3463dde543
@@ -16,7 +16,7 @@ namespace Spectre.Console
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether or not
|
||||
/// the console supports Ansi.
|
||||
/// the console supports VT/ANSI control codes.
|
||||
/// </summary>
|
||||
public bool Ansi { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user