Нема описа

BDisp d31f798391 Merge branch 'v2_develop' into v2_3574_self-contained-single-file пре 1 година
.devcontainer 651ee21ba5 Fixes #2323. The devcontainer.json settings isn't work with the current develop branch. пре 2 година
.github 8683568956 trying to fix 3052 3 пре 1 година
Analyzers 428b436ce4 Suppress a warning caused by code from a polyfill. пре 1 година
CommunityToolkitExample 6a89686bfa Merge branch 'v2_communitytoolkit' of https://github.com/johnmbaughman/Terminal.Gui into v2_communitytoolkit пре 1 година
Example 594921b3df Fixes Example. пре 1 година
FSharpExample 2971fc9134 Fixes #769. Include PDB symbols on Nuget (#1747) пре 3 година
ReactiveExample dea0e5696f added recommendations; fixed .sln пре 1 година
Scripts 9372cce69c Fixed Scenario tests пре 1 година
SelfContained 91cbb2b0b1 Add README file to the SelContained project. пре 1 година
Terminal.Gui d31f798391 Merge branch 'v2_develop' into v2_3574_self-contained-single-file пре 1 година
UICatalog 12562b1182 Fixed warning пре 1 година
UnitTests 02999638f0 trying to fix 3052 пре 1 година
docfx fab361d554 Updated CM schema пре 1 година
.dockerignore 8ab759b30f Fixes #415 v2. Colors: OpenSUSE - The native method "COLOR_PAIRS" does not exist пре 1 година
.editorconfig c94c0567dd Fixes #3240: editorconfig and project documentation sync with reformatting (#3241) пре 1 година
.filenesting.json 76d48f1fe8 Add solution default file nesting rules пре 1 година
.gitattributes 4522097c02 Forces the height of the TextField to 1 which is just the valid height instead of driver rows value. (#400) пре 5 година
.gitignore 49da66ab4f Added some stuff to gitignore to cover other common configurations пре 1 година
.vsconfig 1a68656d66 Add .vsconfig пре 1 година
Analyzers.slnf 4b34dc3f79 Add Analyzers-only solution filter пре 1 година
CODE_OF_CONDUCT.md 6144c9da66 added contribution guidelines, project layout docs, etc... пре 5 година
CONTRIBUTING.md c94c0567dd Fixes #3240: editorconfig and project documentation sync with reformatting (#3241) пре 1 година
Directory.Build.props a7a6038d39 Update that in the root, too пре 1 година
Directory.Build.targets cf9b8eda93 Improved DimPos tests пре 1 година
GitVersion.yml 97335e4048 trying to get release tag right пре 1 година
LICENSE 38af4cfcb8 Add пре 7 година
NoSamples.slnf f03817da1b Have to add this back in temporarily пре 1 година
README.md ced6a89d3a Fixing more links. пре 1 година
Release.ps1 27edf992c5 more gitversion stuff пре 2 година
Release.slnf 902a672c5a This one needs the unit test project too for now пре 1 година
Terminal.sln b4f83bc61c Update project and solution. пре 1 година
Terminal.sln.DotSettings 3f29a96b33 Split out the todo list items and unify their definitions пре 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) пре 1 година
nuget.config 1e4634c828 Add packageSourceMapping to match the custom nuget packageSource пре 1 година
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) пре 1 година

README.md

Terminal.Gui .NET Core Code scanning - action Version Code Coverage Downloads License Bugs

The current, stable, release of Terminal.Gui is v1.x. It is stable, rich, and broadly used. The team is now focused on designing and building a significant upgrade we're referring to as v2. Therefore:

  • v1 is now in maintenance mode, meaning we will accept PRs for v1.x (the develop branch) only for issues impacting existing functionality.
  • All new development happens on the v2_develop branch. See the V2 discussion here.
  • Developers are encouraged to continue building on v1.x until we announce v2 is stable.

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.