Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
![Bugs](https://img.shields.io/github/issues/tui-cs/Terminal.Gui)
[![codecov](https://codecov.io/gh/tui-cs/Terminal.Gui/graph/badge.svg?token=1Ac9gyGtrj)](https://codecov.io/gh/tui-cs/Terminal.Gui)
[![Downloads](https://img.shields.io/nuget/dt/Terminal.Gui)](https://www.nuget.org/packages/Terminal.Gui)
[![License](https://img.shields.io/github/license/tui-cs/gui.cs.svg)](LICENSE)

# Terminal.Gui

Expand Down
4 changes: 2 additions & 2 deletions docfx/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ app.Run (window);
- The application initializes automatically when you call `Run<T>()`
- Use `app.Run<ExampleWindow>()` to run a window that implements <xref:Terminal.Gui.App.IRunnable>
- Call `app.Dispose()` to clean up resources and restore the terminal
- Event handling uses <xref:Terminal.Gui.ViewBase.View.Accepting> event instead of legacy `Accept` event
- Set `e.Handled = true` in event handlers to prevent further processing
- Use the <xref:Terminal.Gui.ViewBase.View.Accepted> event for side effects (e.g. handling a button press); the legacy `Accept` event is gone
- Use the <xref:Terminal.Gui.ViewBase.View.Accepting> event only to inspect or cancel an action, setting `e.Handled = true` to cancel it

When run the application looks as follows:

Expand Down