|
|
1 день назад | |
|---|---|---|
| .. | ||
| App | 5 дней назад | |
| Configuration | 1 неделя назад | |
| Drawing | 5 дней назад | |
| Drivers | 1 день назад | |
| FileServices | 2 недель назад | |
| Input | 5 дней назад | |
| Resources | 1 неделя назад | |
| Text | 1 неделя назад | |
| ViewBase | 5 дней назад | |
| Views | 5 дней назад | |
| Directory.Build.props | 1 год назад | |
| GlobalSuppressions.cs | 6 месяцев назад | |
| ModuleInitializers.cs | 6 месяцев назад | |
| README.md | 1 месяц назад | |
| Terminal.Gui.csproj | 3 недель назад | |
| Terminal.Gui.csproj.DotSettings | 1 год назад | |
| Terminal.Gui.sln | 6 месяцев назад | |
Terminal.Gui is a cross-platform UI toolkit for creating console-based graphical user interfaces in .NET. This repository contains all files required to build the Terminal.Gui library and NuGet package, enabling developers to create rich terminal applications with ease.
Terminal.Gui provides a comprehensive framework for building interactive console applications with support for keyboard and mouse input, customizable views, and a robust event system. It is designed to work across Windows, macOS, and Linux, leveraging platform-specific console capabilities where available.
This directory contains the core Terminal.Gui library source code. For a detailed repository structure, see CONTRIBUTING.md - Repository Structure.
For instructions on how to start using Terminal.Gui, refer to the Getting Started Guide in our documentation.
Comprehensive documentation is available at gui-cs.github.io/Terminal.Gui.
For information on generating and updating the API documentation locally, refer to the DocFX README.
Version information for Terminal.Gui is managed by gitversion. To install gitversion:
dotnet tool install --global GitVersion.Tool
dotnet-gitversion
The project version (used in the NuGet package and Terminal.Gui.dll) is determined from the latest git tag. The format of version numbers is major.minor.patch.build.height and follows Semantic Versioning rules.
To define a new version, tag a commit using git tag:
git tag v2.1.0-beta.1 -a -m "Release v2.1.0 Beta 1"
dotnet-gitversion /updateprojectfiles
dotnet build -c Release
DO NOT COMMIT AFTER USING /updateprojectfiles! Doing so will update the .csproj files in your branch with version info, which we do not want.
To release a new version, follow these steps based on Semantic Versioning rules:
Verify the v2_develop branch is ready for release:
v2_develop branch.v2_develop branch is up-to-date with upstream/v2_develop.Create a pull request for the release in the v2_develop branch:
Title the PR as "Release vX.Y.Z".
git checkout v2_develop
git pull upstream v2_develop
git checkout -b vX_Y_Z
git add .
git commit -m "Release vX.Y.Z"
git push
Go to the link printed by git push and fill out the Pull Request.
On github.com, verify the build action worked on your fork, then merge the PR.
Pull the merged v2_develop from upstream:
git checkout v2_develop
git pull upstream v2_develop
Merge v2_develop into v2_release:
git checkout v2_release
git pull upstream v2_release
git merge v2_develop
Create a new annotated tag for the release on v2_release:
git tag vX.Y.Z -a -m "Release vX.Y.Z"
Push the new tag to v2_release on upstream:
git push --atomic upstream v2_release vX.Y.Z
Monitor Github Actions to ensure the NuGet publishing worked:
Check NuGet to see the new package version (wait a few minutes):
Add a new Release in Github:
Update the v2_develop branch with the new version:
git checkout v2_develop
git pull upstream v2_develop
git merge v2_release
git push upstream v2_develop
The official NuGet package for Terminal.Gui is available at https://www.nuget.org/packages/Terminal.Gui. When a new version tag is defined and merged into v2_release, a NuGet package is automatically generated by a GitHub Action. Pre-release versions (e.g., 2.0.0-beta.5) are tagged as pre-release on NuGet.
We welcome contributions from the community. For complete contribution guidelines, including:
Please refer to CONTRIBUTING.md in the repository root.