Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:

env:
DisableRealDriverIO: "1"
# Splat.Core's author signing cert was revoked, which fails `dotnet restore`
# with NU3012 under online revocation checks. Offline mode skips the online
# OCSP/CRL lookup so restore succeeds. Unrelated to the gui-cs→tui-cs rename.
NUGET_CERT_REVOCATION_MODE: offline

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Terminal.Gui Examples — AI Agent Instructions

Community examples for [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui).
Community examples for [Terminal.Gui](https://github.com/tui-cs/Terminal.Gui).

## CRITICAL: Discard v1 Training Data

Terminal.Gui v2 is a **complete rewrite**. Pre-2025 training data is **wrong**.

> Read the [ai-v2-primer](https://github.com/gui-cs/Terminal.Gui/blob/develop/ai-v2-primer.md) FIRST.
> Read the [ai-v2-primer](https://github.com/tui-cs/Terminal.Gui/blob/develop/ai-v2-primer.md) FIRST.

### v1 → v2 Quick Corrections

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Thank you for your interest in contributing examples!

1. **One example per directory** — each example should be self-contained
2. **Use NuGet references** — reference Terminal.Gui via `<PackageReference Include="Terminal.Gui" />`, not ProjectReference
3. **Follow coding conventions** — see the `.editorconfig` and [Terminal.Gui CONTRIBUTING.md](https://github.com/gui-cs/Terminal.Gui/blob/develop/CONTRIBUTING.md)
3. **Follow coding conventions** — see the `.editorconfig` and [Terminal.Gui CONTRIBUTING.md](https://github.com/tui-cs/Terminal.Gui/blob/develop/CONTRIBUTING.md)
4. **Include a README** — explain what the example demonstrates and how to run it
5. **Keep it focused** — each example should demonstrate one concept or integration pattern
6. **Ensure it builds** — run `dotnet build` before submitting
Expand Down
2 changes: 1 addition & 1 deletion Config/example_config.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json", "ConfigurationManager.ThrowOnJsonErrors": false, "Application.DefaultKeyBindings": { "Quit": { "All": ["Esc"] }, "Suspend": { "Linux": ["Ctrl+Z"], "Macos": ["Ctrl+Z"] }, "Arrange": { "All": ["Ctrl+F5"] }, "NextTabStop": { "All": ["Tab"] }, "PreviousTabStop": { "All": ["Shift+Tab"] }, "NextTabGroup": { "All": ["F6"] }, "PreviousTabGroup": { "All": ["Shift+F6"] }, "Refresh": { "All": ["F5"] } }, "Driver.Force16Colors": false, "Application.ForceDriver": "", "Application.IsMouseDisabled": false, "Key.Separator": "+", "MenuBar.DefaultKey": "F10", "PopoverMenu.DefaultKey": "Shift+F10", "FileDialog.MaxSearchResults": 10000, "FileDialogStyle.DefaultUseColors": false, "FileDialogStyle.DefaultUseUnicodeCharacters": false, "Theme": "Gruntled", "Themes": [ { "Gruntled": { "Glyphs": { "CheckStateChecked": "Γ£ô" }, "Schemes": [ { "TopLevel": { "Normal": { "Foreground": "OrangeRed", "Background": "AntiqueWhite" }, "Focus": { "Foreground": "White", "Background": "Maroon" }, "HotNormal": { "Foreground": "DarkRed", "Background": "AntiqueWhite" }, "HotFocus": { "Foreground": "Yellow", "Background": "Maroon" }, "Disabled": { "Foreground": "LightPink", "Background": "AntiqueWhite" } } }, { "Base": { "Normal": { "Foreground": "White", "Background": "OrangeRed" }, "Focus": { "Foreground": "FireBrick", "Background": "AntiqueWhite" }, "HotNormal": { "Foreground": "Gold", "Background": "OrangeRed" }, "HotFocus": { "Foreground": "FireBrick", "Background": "AntiqueWhite" }, "Disabled": { "Foreground": "LightPink", "Background": "OrangeRed" } } }, { "Dialog": { "Normal": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "Focus": { "Foreground": "DarkGray", "Background": "LightGray" }, "HotNormal": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "HotFocus": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "Disabled": { "Foreground": "Gray", "Background": "DarkGray" } } }, { "Menu": { "Normal": { "Foreground": "White", "Background": "FireBrick" }, "Focus": { "Foreground": "White", "Background": "DarkRed" }, "HotNormal": { "Foreground": "Yellow", "Background": "FireBrick" }, "HotFocus": { "Foreground": "Yellow", "Background": "DarkRed" }, "Disabled": { "Foreground": "Gray", "Background": "DarkGray" } } }, { "Error": { "Normal": { "Foreground": "Yellow", "Background": "DarkRed" }, "Focus": { "Foreground": "DarkSalmon", "Background": "Brown" }, "HotNormal": { "Foreground": "Black", "Background": "DarkRed" }, "HotFocus": { "Foreground": "FireBrick", "Background": "Brown" }, "Disabled": { "Foreground": "DarkGray", "Background": "DarkRed" } } } ] } } ]}
{ "$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json", "ConfigurationManager.ThrowOnJsonErrors": false, "Application.DefaultKeyBindings": { "Quit": { "All": ["Esc"] }, "Suspend": { "Linux": ["Ctrl+Z"], "Macos": ["Ctrl+Z"] }, "Arrange": { "All": ["Ctrl+F5"] }, "NextTabStop": { "All": ["Tab"] }, "PreviousTabStop": { "All": ["Shift+Tab"] }, "NextTabGroup": { "All": ["F6"] }, "PreviousTabGroup": { "All": ["Shift+F6"] }, "Refresh": { "All": ["F5"] } }, "Driver.Force16Colors": false, "Application.ForceDriver": "", "Application.IsMouseDisabled": false, "Key.Separator": "+", "MenuBar.DefaultKey": "F10", "PopoverMenu.DefaultKey": "Shift+F10", "FileDialog.MaxSearchResults": 10000, "FileDialogStyle.DefaultUseColors": false, "FileDialogStyle.DefaultUseUnicodeCharacters": false, "Theme": "Gruntled", "Themes": [ { "Gruntled": { "Glyphs": { "CheckStateChecked": "Γ£ô" }, "Schemes": [ { "TopLevel": { "Normal": { "Foreground": "OrangeRed", "Background": "AntiqueWhite" }, "Focus": { "Foreground": "White", "Background": "Maroon" }, "HotNormal": { "Foreground": "DarkRed", "Background": "AntiqueWhite" }, "HotFocus": { "Foreground": "Yellow", "Background": "Maroon" }, "Disabled": { "Foreground": "LightPink", "Background": "AntiqueWhite" } } }, { "Base": { "Normal": { "Foreground": "White", "Background": "OrangeRed" }, "Focus": { "Foreground": "FireBrick", "Background": "AntiqueWhite" }, "HotNormal": { "Foreground": "Gold", "Background": "OrangeRed" }, "HotFocus": { "Foreground": "FireBrick", "Background": "AntiqueWhite" }, "Disabled": { "Foreground": "LightPink", "Background": "OrangeRed" } } }, { "Dialog": { "Normal": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "Focus": { "Foreground": "DarkGray", "Background": "LightGray" }, "HotNormal": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "HotFocus": { "Foreground": "FireBrick", "Background": "GhostWhite" }, "Disabled": { "Foreground": "Gray", "Background": "DarkGray" } } }, { "Menu": { "Normal": { "Foreground": "White", "Background": "FireBrick" }, "Focus": { "Foreground": "White", "Background": "DarkRed" }, "HotNormal": { "Foreground": "Yellow", "Background": "FireBrick" }, "HotFocus": { "Foreground": "Yellow", "Background": "DarkRed" }, "Disabled": { "Foreground": "Gray", "Background": "DarkGray" } } }, { "Error": { "Normal": { "Foreground": "Yellow", "Background": "DarkRed" }, "Focus": { "Foreground": "DarkSalmon", "Background": "Brown" }, "HotNormal": { "Foreground": "Black", "Background": "DarkRed" }, "HotFocus": { "Foreground": "FireBrick", "Background": "Brown" }, "Disabled": { "Foreground": "DarkGray", "Background": "DarkRed" } } } ] } } ]}
2 changes: 1 addition & 1 deletion Config/macos.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json", "Application.DefaultKeyBindings": { "Quit": { "All": ["Esc", "Ctrl+Q"] }, "Suspend": { "All": ["Ctrl+Z"] }, "Arrange": { "All": ["Ctrl+F5"] }, "NextTabStop": { "All": ["Tab"] }, "PreviousTabStop": { "All": ["Shift+Tab"] }, "NextTabGroup": { "All": ["F6"] }, "PreviousTabGroup":{ "All": ["Shift+F6"] }, "Refresh": { "All": ["F5"] } }, "View.DefaultKeyBindings": { "Left": { "All": ["CursorLeft"] }, "Right": { "All": ["CursorRight"] }, "Up": { "All": ["CursorUp"] }, "Down": { "All": ["CursorDown"] }, "PageUp": { "All": ["PageUp"] }, "PageDown": { "All": ["PageDown"] }, "LeftStart": { "All": ["Home"] }, "RightEnd": { "All": ["End"] }, "Start": { "All": ["Ctrl+Home"] }, "End": { "All": ["Ctrl+End"] }, "LeftExtend": { "All": ["Shift+CursorLeft"] }, "RightExtend": { "All": ["Shift+CursorRight"] }, "UpExtend": { "All": ["Shift+CursorUp"] }, "DownExtend": { "All": ["Shift+CursorDown"] }, "PageUpExtend": { "All": ["Shift+PageUp"] }, "PageDownExtend": { "All": ["Shift+PageDown"] }, "LeftStartExtend": { "All": ["Shift+Home"] }, "RightEndExtend": { "All": ["Shift+End"] }, "StartExtend": { "All": ["Ctrl+Shift+Home"] }, "EndExtend": { "All": ["Ctrl+Shift+End"] }, "Copy": { "All": ["Ctrl+C"] }, "Cut": { "All": ["Ctrl+X"] }, "Paste": { "All": ["Ctrl+V"] }, "Undo": { "All": ["Ctrl+Z", "Ctrl+/"] }, "Redo": { "All": ["Ctrl+Y", "Ctrl+Shift+Z"] }, "SelectAll": { "All": ["Ctrl+A"] }, "DeleteCharLeft": { "All": ["Backspace"] }, "DeleteCharRight": { "All": ["Delete", "Ctrl+D"] } }, "View.ViewKeyBindings": { "TextField": { "CutToEndOfLine": { "All": ["Ctrl+K"] }, "KillWordRight": { "All": ["Ctrl+W"] } } }}
{ "$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json", "Application.DefaultKeyBindings": { "Quit": { "All": ["Esc", "Ctrl+Q"] }, "Suspend": { "All": ["Ctrl+Z"] }, "Arrange": { "All": ["Ctrl+F5"] }, "NextTabStop": { "All": ["Tab"] }, "PreviousTabStop": { "All": ["Shift+Tab"] }, "NextTabGroup": { "All": ["F6"] }, "PreviousTabGroup":{ "All": ["Shift+F6"] }, "Refresh": { "All": ["F5"] } }, "View.DefaultKeyBindings": { "Left": { "All": ["CursorLeft"] }, "Right": { "All": ["CursorRight"] }, "Up": { "All": ["CursorUp"] }, "Down": { "All": ["CursorDown"] }, "PageUp": { "All": ["PageUp"] }, "PageDown": { "All": ["PageDown"] }, "LeftStart": { "All": ["Home"] }, "RightEnd": { "All": ["End"] }, "Start": { "All": ["Ctrl+Home"] }, "End": { "All": ["Ctrl+End"] }, "LeftExtend": { "All": ["Shift+CursorLeft"] }, "RightExtend": { "All": ["Shift+CursorRight"] }, "UpExtend": { "All": ["Shift+CursorUp"] }, "DownExtend": { "All": ["Shift+CursorDown"] }, "PageUpExtend": { "All": ["Shift+PageUp"] }, "PageDownExtend": { "All": ["Shift+PageDown"] }, "LeftStartExtend": { "All": ["Shift+Home"] }, "RightEndExtend": { "All": ["Shift+End"] }, "StartExtend": { "All": ["Ctrl+Shift+Home"] }, "EndExtend": { "All": ["Ctrl+Shift+End"] }, "Copy": { "All": ["Ctrl+C"] }, "Cut": { "All": ["Ctrl+X"] }, "Paste": { "All": ["Ctrl+V"] }, "Undo": { "All": ["Ctrl+Z", "Ctrl+/"] }, "Redo": { "All": ["Ctrl+Y", "Ctrl+Shift+Z"] }, "SelectAll": { "All": ["Ctrl+A"] }, "DeleteCharLeft": { "All": ["Backspace"] }, "DeleteCharRight": { "All": ["Delete", "Ctrl+D"] } }, "View.ViewKeyBindings": { "TextField": { "CutToEndOfLine": { "All": ["Ctrl+K"] }, "KillWordRight": { "All": ["Ctrl+W"] } } }}
Loading
Loading