Sen descrición

BDisp 39b39ddc70 Fixes #3611. Localization not working on self-contained single-file. hai 1 ano
.devcontainer 651ee21ba5 Fixes #2323. The devcontainer.json settings isn't work with the current develop branch. %!s(int64=2) %!d(string=hai) anos
.github 7dc12a4c58 Merge pull request #3608 from gui-cs/dependabot/github_actions/gittools/actions-1 hai 1 ano
CommunityToolkitExample d1730f01f9 Convert package reference versions to ranges hai 1 ano
Example d8d491a216 Resolving merge conflicts. hai 1 ano
FSharpExample 42ee95b6cc Fix FSharpExample using the simple example. hai 1 ano
ReactiveExample d1730f01f9 Convert package reference versions to ranges hai 1 ano
Scripts 6b72b3f56b Remove PowerShell module for analyzers hai 1 ano
SelfContained 39b39ddc70 Fixes #3611. Localization not working on self-contained single-file. hai 1 ano
Terminal.Gui 39b39ddc70 Fixes #3611. Localization not working on self-contained single-file. hai 1 ano
UICatalog abdde3ab6c Remove Terminal.Gui.Analyzers.Internal project from the Terminal.Gui project. hai 1 ano
UnitTests 39b39ddc70 Fixes #3611. Localization not working on self-contained single-file. hai 1 ano
docfx fab361d554 Updated CM schema hai 1 ano
.dockerignore 8ab759b30f Fixes #415 v2. Colors: OpenSUSE - The native method "COLOR_PAIRS" does not exist %!s(int64=2) %!d(string=hai) anos
.editorconfig c94c0567dd Fixes #3240: editorconfig and project documentation sync with reformatting (#3241) hai 1 ano
.filenesting.json 76d48f1fe8 Add solution default file nesting rules hai 1 ano
.gitattributes 4522097c02 Forces the height of the TextField to 1 which is just the valid height instead of driver rows value. (#400) %!s(int64=5) %!d(string=hai) anos
.gitignore 47d3762ee2 Fixed .gitignore hai 1 ano
.vsconfig 1a68656d66 Add .vsconfig hai 1 ano
CODE_OF_CONDUCT.md 6144c9da66 added contribution guidelines, project layout docs, etc... %!s(int64=5) %!d(string=hai) anos
CONTRIBUTING.md aa209901c5 updated readmes for v2 hai 1 ano
GitVersion.yml 97335e4048 trying to get release tag right hai 1 ano
LICENSE 38af4cfcb8 Add %!s(int64=7) %!d(string=hai) anos
NoSamples.slnf b667c3de98 Remove analyzer projects from solution and project references hai 1 ano
README.md 3b19567b5c Merge branch 'v2_develop' into v2_3574_self-contained-single-file hai 1 ano
Release.ps1 27edf992c5 more gitversion stuff %!s(int64=2) %!d(string=hai) anos
Release.slnf b667c3de98 Remove analyzer projects from solution and project references hai 1 ano
Terminal.sln f974861395 Resolving merge conflicts. hai 1 ano
Terminal.sln.DotSettings 3f29a96b33 Split out the todo list items and unify their definitions hai 1 ano
Terminal.sln.ToDo.DotSettings 3f29a96b33 Split out the todo list items and unify their definitions hai 1 ano
global.json dcb3b359ad Fixes #2926 - Refactor KeyEvent and KeyEventEventArgs to simplify (#2927) hai 1 ano
nuget.config 1e4634c828 Add packageSourceMapping to match the custom nuget packageSource hai 1 ano
pull_request_template.md b84862d0bd Fixes #3172. `Application.ResetState` wasn't resetting all it should (#3173) hai 1 ano
testenvironments.json 8ea6b105fc Fixes #2923. Ensures only clear Instances if they really was disposed. (#2924) hai 1 ano

README.md

Terminal.Gui .NET Core Version Code Coverage Downloads License Bugs

  • The current, stable, release of Terminal.Gui v1 is Version.
  • The current prealpha release of Terminal.Gui v2 can be found on Nuget.
  • Developers starting new TUI projects are encouraged to target v2. The API is signifcantly changed, and significantly improved. There will be breaking changes in the API before Beta, but the core API is stable.
  • v1 is in maintenance mode and we will only accept PRs for issues impacting existing functionality.

Terminal.Gui: A toolkit for building rich console apps for .NET, .NET Core, and Mono that works on Windows, the Mac, and Linux/Unix.

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

Documentation

Showcase & Examples

  • UI Catalog - The UI Catalog project provides an easy to use and extend sample illustrating the capabilities of Terminal.Gui. Run dotnet run --project UICatalog to run the UI Catalog.
  • C# Example - Run dotnet run in the Example directory to run the C# Example.
  • F# Example - An example showing how to build a Terminal.Gui app using F#.
  • Reactive Example - A sample app that shows how to use System.Reactive and ReactiveUI with Terminal.Gui. The app uses the MVVM architecture that may seem familiar to folks coming from WPF, Xamarin Forms, UWP, Avalonia, or Windows Forms. In this app, we implement the data bindings using ReactiveUI WhenAnyValue syntax and Pharmacist — a tool that converts all events in a NuGet package into observable wrappers.
  • CommunityToolkit Example - A example of using the CommunityToolkit.MVVM framework's ObservableObject, ObservableProperty, and IRecipient<T> in conjunction with Microsoft.Extensions.DependencyInjection.
  • C# SelfContained - An example showing how to publish a Terminal.Gui app using C# self-contained single file.
  • PowerShell's Out-ConsoleGridView - OCGV sends the output from a command to an interactive table.
  • F7History - Graphical Command History for PowerShell (built on PowerShell's Out-ConsoleGridView).
  • PoshRedisViewer - A compact Redis viewer module for PowerShell written in F#.
  • PoshDotnetDumpAnalyzeViewer - dotnet-dump UI module for PowerShell.
  • TerminalGuiDesigner - Cross platform view designer for building Terminal.Gui applications.

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.