New doc theme (#387)

This commit is contained in:
Phil Scott
2021-04-24 16:20:59 -04:00
committed by GitHub
parent b568098d5e
commit 2a9fbb1ee9
145 changed files with 197984 additions and 8746 deletions

View File

@ -5,19 +5,19 @@ RedirectFrom: status
Spectre.Console can display information about long running tasks in the console.
<img src="../assets/images/status.gif" style="max-width: 100%;margin-bottom:20px;">
![Example of status output](../assets/images/status.gif)
<div class="alert alert-warning" role="alert">
<i class="fas fa-exclamation-triangle icon-web"></i> The status display is not
<?# Alert ?>
The status display is not
thread safe, and using it together with other interactive components such as
prompts, progress displays or other status displays are not supported.
</div>
<?#/ Alert ?>
If the current terminal isn't considered "interactive", such as when running
in a continuous integration system, or the terminal can't display
ANSI control sequence, any progress will be displayed in a simpler way.
# Usage
## Usage
```csharp
// Synchronous
@ -52,7 +52,7 @@ await AnsiConsole.Status()
});
```
# Configure
## Configure
```csharp
AnsiConsole.Status()
@ -64,4 +64,4 @@ AnsiConsole.Status()
// Omitted
ctx.Refresh();
});
```
```