|
@@ -61,9 +61,7 @@ See the [`Terminal.Gui/` README](https://github.com/gui-cs/Terminal.Gui/tree/mas
|
|
|
|
|
|
## Sample Usage in C#
|
|
|
|
|
|
-The following example shows basic Terminal.Gui application syntax.
|
|
|
-
|
|
|
-
|
|
|
+The following example shows basic Terminal.Gui application syntax:
|
|
|
|
|
|
```csharp
|
|
|
// A simple Terminal.Gui example in C# - using C# 9.0 Top-level statements
|
|
@@ -122,6 +120,12 @@ Application.Run(win);
|
|
|
Application.Shutdown();
|
|
|
```
|
|
|
|
|
|
+When run the application looks as follows:
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+_Sample application running_
|
|
|
+
|
|
|
## Installing
|
|
|
|
|
|
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
|
|
|
|
|
|
-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.
|