Doc tweak

This commit is contained in:
Tig
2024-12-08 18:30:03 -08:00
parent e6aeada480
commit ed67edad41

View File

@@ -40,7 +40,7 @@ The `Character Map` Scenario includes a View called `CharMap` that is a good exa
The [Command](~/api/Terminal.Gui.Command.yml) enum lists generic operations that are implemented by views. For example `Command.Accept` in a `Button` results in the `Accepting` event
firing while in `TableView` it is bound to `CellActivated`. Not all commands
are implemented by all views (e.g. you cannot scroll in a `Button`). Use the @Terminal.Gui.View.GetSupportedCommands() method to determine which commands are implemented by a `View`.
are implemented by all views (e.g. you cannot scroll in a `Button`). Use the @Terminal.Gui.View.GetSupportedCommands method to determine which commands are implemented by a `View`.
The default key for activating a button is `Space`. You can change this using
`KeyBindings.ReplaceKey()`: