mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 01:07:58 +01:00
CanFocus is not coupled with the tab index or tab stop other than to automatically set TabStop when set to True. A TabIndex of -1 is only used to indicate TabStop_set has not been called. Once nullable is enabled, we'll change _tabIndex to be nullable. Changing CanFocus does not impact TabIndex (except in that it sets TabStop if it's None).
Automated Unit Tests
Terminal.Gui uses xunit for automated unit tests run automatically with Github Actions.
See the Testing wiki for details on how to add more tests.