2
0

Тайлбар байхгүй

Tig 84f977937b Adds transparent shadow test (#4487) 21 цаг өмнө
.config a6258ed398 Updates `IListDataSource.Render` to rename the `start` parameter to `viewportXOffset` (#4392) 3 долоо хоног өмнө
.devcontainer 651ee21ba5 Fixes #2323. The devcontainer.json settings isn't work with the current develop branch. 2 жил өмнө
.github 0eafb5947e Move parallel test repeat logic to stress tests (#4455) 1 долоо хоног өмнө
Examples e7a4df492d Fixes #4050. Rename Command.Select and Selecting to Activate/Activating (#4470) 4 өдөр өмнө
Scripts 171a26a350 Removes the v1 `Menu` stuff. Preps for #4148 (#4402) 3 долоо хоног өмнө
Terminal.Gui 48d6e13138 Fixes #4466 - `FillRect` Corrupts Wide Characters When Overlapping (#4486) 22 цаг өмнө
Terminal.Gui.Analyzers 3a645191db Fixes #4170 - Added analyzer that flags when user does not have `Handled=true` (#4182) 5 сар өмнө
Terminal.Gui.Analyzers.Tests d53fcd7485 Fixes #4374 - Nukes all (?) legacy Driver and Application stuff; revamps tests (#4376) 1 сар өмнө
Tests 84f977937b Adds transparent shadow test (#4487) 21 цаг өмнө
docfx e7a4df492d Fixes #4050. Rename Command.Select and Selecting to Activate/Activating (#4470) 4 өдөр өмнө
local_packages f3fc20306e Remove TextField.Caption property; use Title with hotkey navigation support (#4352) 1 сар өмнө
.cursorrules aef88ad4bb Fixes #4332 - Refactor test infrastructure to use modern ApplicationImpl.Coordinator instead of legacy MainLoop (#4335) 1 сар өмнө
.dockerignore 8ab759b30f Fixes #415 v2. Colors: OpenSUSE - The native method "COLOR_PAIRS" does not exist 2 жил өмнө
.editorconfig e6a0ec64ca Fixes #4361 - Consolidate `FakeDriver` into library and refactor driver architecture (#4362) 1 сар өмнө
.filenesting.json 76d48f1fe8 Add solution default file nesting rules 1 жил өмнө
.gitattributes 98f70b2632 Adds `ViewportSettings.Transparent` (#3886) 9 сар өмнө
.gitignore b9f55a5a96 Fixes #4410, #4413, #4414, #4415 - `MessageBox` nullable, `Clipboard` refactor, fence for legacy/modern App, and makes internal classes thread safe. (#4411) 2 долоо хоног өмнө
.vsconfig 1a68656d66 Add .vsconfig 1 жил өмнө
AGENTS.md aef88ad4bb Fixes #4332 - Refactor test infrastructure to use modern ApplicationImpl.Coordinator instead of legacy MainLoop (#4335) 1 сар өмнө
CODE_OF_CONDUCT.md 6144c9da66 added contribution guidelines, project layout docs, etc... 5 жил өмнө
CONTRIBUTING.md a84b2c4896 Fixes #4419, #4148, #4408 - Toplevel is GONE - Replaced by Runnable (#4422) 1 долоо хоног өмнө
Directory.Build.props b0f32811eb Fixes #3930 - Splits tests to `Tests/UnitTests`, `Tests/IntegrationTests`, `Tests/StressTests` (#3954) 9 сар өмнө
Directory.Packages.props cd75a20c60 Fixes #4387. Runes should not be used on a cell, but rather should use a single grapheme rendering 1 or 2 columns (#4388) 3 долоо хоног өмнө
GitVersion.yml f4d4a25704 pre-alpha -> alpha (#4158) 6 сар өмнө
LICENSE 38af4cfcb8 Add 8 жил өмнө
NULLABLE_VIEWS_REMAINING.md c5906c2dc1 #4329—Major Terminal.Gui v2 Architecture Modernization: Application Decoupling, Terminology Improvements, and Nullable Migration (#4338) 3 долоо хоног өмнө
NoSamples.slnf ba4503a2b0 Fixed release builds 4 6 сар өмнө
PR_DESCRIPTION_UPDATED.md c5906c2dc1 #4329—Major Terminal.Gui v2 Architecture Modernization: Application Decoupling, Terminology Improvements, and Nullable Migration (#4338) 3 долоо хоног өмнө
README.md 8e92327dbe Fixes #4423 - migration docs (#4424) 1 долоо хоног өмнө
Release.slnf ba4503a2b0 Fixed release builds 4 6 сар өмнө
Terminal.sln a84b2c4896 Fixes #4419, #4148, #4408 - Toplevel is GONE - Replaced by Runnable (#4422) 1 долоо хоног өмнө
Terminal.sln.DotSettings 48d6e13138 Fixes #4466 - `FillRect` Corrupts Wide Characters When Overlapping (#4486) 22 цаг өмнө
Terminal.sln.ToDo.DotSettings afa7da3ae5 Fixes #4078 - Implement automatic URL detection with OSC 8 hyperlinks at driver level (#4340) 1 сар өмнө
codecov.yml c5906c2dc1 #4329—Major Terminal.Gui v2 Architecture Modernization: Application Decoupling, Terminology Improvements, and Nullable Migration (#4338) 3 долоо хоног өмнө
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

Version codecov Downloads License Bugs

Terminal.Gui v2

Cross-platform UI toolkit for building sophisticated terminal UI (TUI) applications on Windows, macOS, and Linux/Unix.

logo

  • v2 Alpha (Current): NuGet Version - Recommended for new projects
  • v1 (Legacy): Version - Maintenance mode only

Important:

  • v1 is in maintenance mode - only critical bug fixes accepted
  • v2 Alpha is recommended for new projects - API is stable with comprehensive features
  • Breaking changes possible before Beta, but core architecture is solid

Sample app

Quick Start

Install the Terminal.Gui.Templates, create a new TUI app, and run it:

dotnet new --install Terminal.Gui.templates
dotnet new tui -n myproj
cd myproj
dotnet run

Press Esc to exit (the default QuitKey).

Run the comprehensive UI Catalog demo to explore all controls:

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

Simple Example

using Terminal.Gui;

using IApplication app = Application.Create ();
app.Init ();

using Window window = new () { Title = "Hello World (Esc to quit)" };
Label label = new ()
{
    Text = "Hello, Terminal.Gui v2!",
    X = Pos.Center (),
    Y = Pos.Center ()
};
window.Add (label);

app.Run (window);

See the Examples directory for more.

Build Powerful Terminal Applications

Terminal.Gui enables building sophisticated console applications with modern UIs:

  • Rich Forms and Dialogs - Text fields, buttons, checkboxes, radio buttons, and data validation
  • Interactive Data Views - Tables, lists, and trees with sorting, filtering, and in-place editing
  • Visualizations - Charts, graphs, progress indicators, and color pickers with TrueColor support
  • Text Editors - Full-featured text editing with clipboard, undo/redo, and Unicode support
  • File Management - File and directory browsers with search and filtering
  • Wizards and Multi-Step Processes - Guided workflows with navigation and validation
  • System Monitoring Tools - Real-time dashboards with scrollable, resizable views
  • Configuration UIs - Settings editors with persistent themes and user preferences
  • Cross-Platform CLI Tools - Consistent experience on Windows, macOS, and Linux
  • Server Management Interfaces - SSH-compatible UIs for remote administration

See the Views Overview for available controls and What's New in v2 for architectural improvements.

Documentation

Comprehensive documentation is at gui-cs.github.io/Terminal.Gui.

Getting Started

Migration & Deep Dives

See the documentation index for all topics.

Installing

v2 Alpha (Recommended)

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

v2 Develop (Latest)

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

v1 Legacy

dotnet add package Terminal.Gui --version "1.*"

Or use the Terminal.Gui.Templates.

Contributing

Contributions welcome! See CONTRIBUTING.md.

History

See gui-cs for project history and origins.