Files
Terminal.Gui/Examples/FluentExample
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
..