Update README.md

update image path and add caption
This commit is contained in:
Thomas Nind
2022-10-20 16:22:30 +01:00
committed by GitHub
parent 121d0a0cc8
commit 7c05a31d05

View File

@@ -61,9 +61,7 @@ See the [`Terminal.Gui/` README](https://github.com/gui-cs/Terminal.Gui/tree/mas
## Sample Usage in C# ## Sample Usage in C#
The following example shows basic Terminal.Gui application syntax. The following example shows basic Terminal.Gui application syntax:
![Simple Usage app](docfx/images/simpleusage.png)
```csharp ```csharp
// A simple Terminal.Gui example in C# - using C# 9.0 Top-level statements // A simple Terminal.Gui example in C# - using C# 9.0 Top-level statements
@@ -122,6 +120,12 @@ Application.Run(win);
Application.Shutdown(); Application.Shutdown();
``` ```
When run the application looks as follows:
![Simple Usage app](./docfx/images/Example.png)
_Sample application running_
## Installing ## Installing
Use NuGet to install the `Terminal.Gui` NuGet package: https://www.nuget.org/packages/Terminal.Gui Use NuGet to install the `Terminal.Gui` NuGet package: https://www.nuget.org/packages/Terminal.Gui
@@ -151,4 +155,4 @@ Debates on architecture and design can be found in Issues tagged with [design](h
## History ## History
See [gui-cs](https://github.com/gui-cs/) for how this project came to be. See [gui-cs](https://github.com/gui-cs/) for how this project came to be.