Нет описания

copilot-swe-agent[bot] ce46e71c40 Revert incorrect FIFO fix - logic was inverted causing LIFO 1 месяц назад
.devcontainer 651ee21ba5 Fixes #2323. The devcontainer.json settings isn't work with the current develop branch. 2 лет назад
.github b502471ee6 Fixes #4300 - Scrolling intermittently causes All_Scenarios_Quit_And_Init_Shutdown_Properly to fail (#4301) 1 месяц назад
Examples b502471ee6 Fixes #4300 - Scrolling intermittently causes All_Scenarios_Quit_And_Init_Shutdown_Properly to fail (#4301) 1 месяц назад
Scripts fe18c81dc9 Fixed gitversion 9 месяцев назад
Terminal.Gui ce46e71c40 Revert incorrect FIFO fix - logic was inverted causing LIFO 1 месяц назад
Terminal.Gui.Analyzers 3a645191db Fixes #4170 - Added analyzer that flags when user does not have `Handled=true` (#4182) 5 месяцев назад
Terminal.Gui.Analyzers.Tests a3399776b7 Fixes nuget packages with vulnerabilities (#4218) 4 месяцев назад
Tests ce46e71c40 Revert incorrect FIFO fix - logic was inverted causing LIFO 1 месяц назад
docfx 7a810b0b87 Remove TileView; use View.Arrangement instead (#4271) 1 месяц назад
local_packages 041e9de70e Migrate 210 tests to UnitTests.Parallelizable, add CreateFakeDriver helper, prove View.Draw() works in parallel tests, and provide comprehensive performance analysis (#4297) 1 месяц назад
.dockerignore 8ab759b30f Fixes #415 v2. Colors: OpenSUSE - The native method "COLOR_PAIRS" does not exist 2 лет назад
.editorconfig d3f4c42785 Fixes 4132. .editorconfig has ambiguous configuration with same files (#4133) 6 месяцев назад
.filenesting.json 76d48f1fe8 Add solution default file nesting rules 1 год назад
.gitattributes 98f70b2632 Adds `ViewportSettings.Transparent` (#3886) 9 месяцев назад
.gitignore 5984a3c564 Fixes #3941 - v2win/v2net: UICatalog crash - Fixes warnings (#3946) 9 месяцев назад
.vsconfig 1a68656d66 Add .vsconfig 1 год назад
AGENTS.md 549436e343 Fixes #4177: View.GetAttributeForRole now defers to SuperView for proper attribute hierarchy (#4292) 1 месяц назад
CODE_OF_CONDUCT.md 6144c9da66 added contribution guidelines, project layout docs, etc... 5 лет назад
CONTRIBUTING.md 4cd6511c89 Updated doc links 6 месяцев назад
Directory.Build.props b0f32811eb Fixes #3930 - Splits tests to `Tests/UnitTests`, `Tests/IntegrationTests`, `Tests/StressTests` (#3954) 9 месяцев назад
Directory.Packages.props b83bcc2fdb Fixes #4259. Our wcwidth library is out of date (#4281) 2 месяцев назад
GitVersion.yml f4d4a25704 pre-alpha -> alpha (#4158) 6 месяцев назад
LICENSE 38af4cfcb8 Add 8 лет назад
NoSamples.slnf ba4503a2b0 Fixed release builds 4 6 месяцев назад
README.md 3d53c30ee1 readme: update outdated doc links (#4181) 5 месяцев назад
Release.slnf ba4503a2b0 Fixed release builds 4 6 месяцев назад
Terminal.sln fc9c40c2a0 Fixes #4150 - Finish implementing `Line` View (#4260) 2 месяцев назад
Terminal.sln.DotSettings b502471ee6 Fixes #4300 - Scrolling intermittently causes All_Scenarios_Quit_And_Init_Shutdown_Properly to fail (#4301) 1 месяц назад
Terminal.sln.ToDo.DotSettings 3f29a96b33 Split out the todo list items and unify their definitions 1 год назад
global.json dcb3b359ad Fixes #2926 - Refactor KeyEvent and KeyEventEventArgs to simplify (#2927) 2 лет назад
nuget.config 8fef16d35f Fixes #4116. NativeAot and SelfContained projects aren't working well in release mode (#4117) 6 месяцев назад
pull_request_template.md b84862d0bd Fixes #3172. `Application.ResetState` wasn't resetting all it should (#3173) 1 год назад
testenvironments.json 8ea6b105fc Fixes #2923. Ensures only clear Instances if they really was disposed. (#2924) 2 лет назад

README.md

.NET Core Version Code Coverage Downloads License Bugs

Terminal.Gui v2

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 Alpha release of Terminal.Gui v2 is NuGet Version

:warning: Note:
Developers starting new TUI projects are encouraged to target v2 Alpha. 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.Gui.

Getting Started

API Reference

For detailed API documentation, see the API Reference.

Installing

Use NuGet to install the Terminal.Gui NuGet package:

v2 Alpha

(Infrequently updated, but stable enough for production use)

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

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 --version "1.*

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.