* Add class for detecting information about console in extensible way
* WIP - Create test for reordering
* Change Dictionary to List and preserve TreeBuilder order
* Add test to ensure branch expansion/status remains consistent despite reorder
* Cleanup code
* Fix regression when removed child was the selected one
* Revert "Add class for detecting information about console in extensible way"
This reverts commit 7e4253cf28.
* Code cleanup and enable nullable on Branch
* Remove color scheme and driver from Branch draw
* Add xunit context extensions
* Investigate codegen for xunit
* Getting closer to something that works
* Fix code generation
* Further explore code gen
* Generate all methods in single class for easier extensibility
* Simplify code gen by moving parameter creation to its own method
* Implement asserts A-I
* Add remaining assert calls that are not obsolete
* Fix unit test
* Roll back versions to be compatible with CI version of csharp
* Handle params and ref etc
* Fix null warning
* WIP - start to add integration tests for FileDialog
* Add ability to tab focus to specific control with simple one line delegate
* Clarify test criteria
* Add unit tests for Ok and other ways of canceling dialog
* Fix other buttons also triggering save
* Fix for linux environment tests
* Fix for linux again
* Fix application null race condition - add better way of knowing if stuff is finished
* Better fix for shutdown detection
* Add test that shows #4026 is not an issue
* Switch to `_fileSystem.Directory.GetLogicalDrives ()`
* Don't show duplicate MyDocuments etc
- The current, stable, release of Terminal.Gui v1 is
.
- The current
prealpharelease of Terminal.Gui v2 can be found on Nuget. - Developers starting new TUI projects are encouraged to target
v2. The API is significantly changed, and significantly improved. There will be breaking changes in the API before Beta, but the core API is stable. v1is in maintenance mode and we will only accept PRs for issues impacting existing functionality.
Terminal.Gui: A toolkit for building rich console apps for Windows, the Mac, and Linux/Unix.
Quick Start
Paste these commands into your favorite terminal on Windows, Mac, or Linux. This will install the Terminal.Gui.Templates, create a new "Hello World" TUI app, and run it.
(Press CTRL-Q to exit the app)
dotnet new --install Terminal.Gui.templates
dotnet new tui -n myproj
cd myproj
dotnet run
There is also a visual designer (uses Terminal.Gui itself).
Documentation
The above documentation matches the most recent Nuget release from the v2_develop branch. Get the v1 documentation here.
See the Terminal.Gui/README for an overview of how the library is structured.
Showcase & Examples
Terminal.Gui can be used with any .Net language to create feature rich and robust applications.
Showcase is a place where you can find all kind of projects from simple examples to advanced real world apps that fully utilize capabilities of the toolkit.
The team is looking forward to seeing new amazing projects made by the community to be added there!
Sample Usage in C#
The following example shows a basic Terminal.Gui application in C#:
Example (source)
When run the application looks as follows:
Sample usage in F#
F# examples are located here
Installing
Use NuGet to install the Terminal.Gui NuGet package: https://www.nuget.org/packages/Terminal.Gui
Installation in .NET Core Projects
To install Terminal.Gui into a .NET Core project, use the dotnet CLI tool with this command.
dotnet add package Terminal.Gui
Or, you can use the Terminal.Gui.Templates.
Contributing
See CONTRIBUTING.md.
Debates on architecture and design can be found in Issues tagged with design.
History
See gui-cs for how this project came to be.


