Files
Terminal.Gui/Examples/Example
copilot-swe-agent[bot] 401db78b45 Simplify example infrastructure with Create(example) parameter
- Added bool example parameter to Application.Create()
- Added static ObservableCollection<IApplication> Apps for external observers
- When example=true, metadata is collected and demo keys are sent when first TopRunnable is modal
- Removed ExampleContextInjector complexity
- Examples now use Application.Create(example: isExample)
- Key injection happens via SessionBegun event monitoring TopRunnable.IsModal
- Clean, simple architecture that allows external observers to subscribe to Apps collection

This addresses @tig's feedback to simplify the approach.

Co-authored-by: tig <585482+tig@users.noreply.github.com>
2025-12-02 13:51:11 +00:00
..

Terminal.Gui C# Example

This example shows how to use the Terminal.Gui library to create a simple TUI application in C#.

This is the same code found in the Terminal.Gui README.md file.

To explore the full range of functionality in Terminal.Gui, see the UICatalog project