Brak opisu

Tig 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
.devcontainer 651ee21ba5 Fixes #2323. The devcontainer.json settings isn't work with the current develop branch. 2 lat temu
.github 4cff53f49c Fixed release builds 10 3 miesięcy temu
Examples 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
Scripts fe18c81dc9 Fixed gitversion 6 miesięcy temu
Terminal.Gui 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
Tests 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
docfx 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
local_packages 38c1182a6f Adds `namespace` docs & adds new `multitasking.md` deep dive (#4114) 3 miesięcy temu
.dockerignore 8ab759b30f Fixes #415 v2. Colors: OpenSUSE - The native method "COLOR_PAIRS" does not exist 2 lat temu
.editorconfig 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
.filenesting.json 76d48f1fe8 Add solution default file nesting rules 1 rok temu
.gitattributes 98f70b2632 Adds `ViewportSettings.Transparent` (#3886) 6 miesięcy temu
.gitignore 5984a3c564 Fixes #3941 - v2win/v2net: UICatalog crash - Fixes warnings (#3946) 6 miesięcy temu
.vsconfig 1a68656d66 Add .vsconfig 1 rok temu
CODE_OF_CONDUCT.md 6144c9da66 added contribution guidelines, project layout docs, etc... 5 lat temu
CONTRIBUTING.md 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
Directory.Build.props b0f32811eb Fixes #3930 - Splits tests to `Tests/UnitTests`, `Tests/IntegrationTests`, `Tests/StressTests` (#3954) 6 miesięcy temu
Directory.Packages.props 7fe6fd9453 Fixes #4046 - Moves examples into `./Examples` and fixes `./Tests` (#4047) 3 miesięcy temu
GitVersion.yml fe18c81dc9 Fixed gitversion 6 miesięcy temu
LICENSE 38af4cfcb8 Add 7 lat temu
NoSamples.slnf ba4503a2b0 Fixed release builds 4 3 miesięcy temu
README.md ba4503a2b0 Fixed release builds 4 3 miesięcy temu
Release.slnf ba4503a2b0 Fixed release builds 4 3 miesięcy temu
Terminal.sln 7fe6fd9453 Fixes #4046 - Moves examples into `./Examples` and fixes `./Tests` (#4047) 3 miesięcy temu
Terminal.sln.DotSettings 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 3 miesięcy temu
Terminal.sln.ToDo.DotSettings 3f29a96b33 Split out the todo list items and unify their definitions 1 rok temu
global.json dcb3b359ad Fixes #2926 - Refactor KeyEvent and KeyEventEventArgs to simplify (#2927) 1 rok temu
nuget.config ba4503a2b0 Fixed release builds 4 3 miesięcy temu
pull_request_template.md b84862d0bd Fixes #3172. `Application.ResetState` wasn't resetting all it should (#3173) 1 rok temu
testenvironments.json 8ea6b105fc Fixes #2923. Ensures only clear Instances if they really was disposed. (#2924) 1 rok temu

README.md

.NET Core Version Code Coverage Downloads License Bugs

Terminal.Gui

The premier toolkit for building rich console apps for Windows, the Mac, and Linux/Unix.

logo

  • The current, stable, release of Terminal.Gui v1 is Version.

:warning: Note:
v1 is in maintenance mode and we will only accept PRs for issues impacting existing functionality.

  • The current prealpha release of Terminal.Gui v2 is NuGet Version

:warning: Note:
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.

Sample app

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

To run the UICatalog demo app that shows all the controls and features of the toolkit, use the following command:

dotnet run --project Examples/UICatalog/UICatalog.csproj

There is also a visual designer (uses Terminal.Gui itself).

Documentation

The full developer documentation for Terminal.Gui is available at gui-cs.github.io/Terminal.GuiV2Docs.

Getting Started

API Reference

For detailed API documentation, see the API Reference.

Installing

Use NuGet to install the Terminal.Gui NuGet package:

v2 Pre-Alpha

(Infrequently updated, but stable enough for production use)

dotnet add package Terminal.Gui --version "2.0.0-prealpha.*"

v2 Develop

(Frequently updated, but may have breaking changes)

dotnet add package Terminal.Gui --version "2.0.0-develop.*"

Legacy v1

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.