feat: make cursor visible on exit
This commit is contained in:
@@ -9,6 +9,7 @@ public class ExitCommand : ICommand
|
||||
public Task ExecuteAsync(string[] args, CancellationToken ct)
|
||||
{
|
||||
AnsiConsole.MarkupLine("[green]Goodbye![/]");
|
||||
Console.CursorVisible = true;
|
||||
Environment.Exit(0);
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user