Skip to content

Commit 582ca06

Browse files
authored
Merge pull request #259 from tui-cs/release/v2.5.5
Release v2.5.5
2 parents 8ac1a58 + b7d9f21 commit 582ca06

38 files changed

Lines changed: 286 additions & 128 deletions

File tree

.github/workflows/bump-terminal-gui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: Bump Terminal.Gui
1616
# breakage is visible, and fail this run.
1717
#
1818
# Triggers:
19-
# - repository_dispatch `terminal-gui-published` (sent by gui-cs/Terminal.Gui's
19+
# - repository_dispatch `terminal-gui-published` (sent by tui-cs/Terminal.Gui's
2020
# publish workflow; payload: { "version": "2.4.6-develop.10" })
2121
# - schedule: fallback poll, in case the dispatch is missing/not configured
2222
# - workflow_dispatch: manual, with channel selection (use channel=stable to

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ jobs:
224224
gh release create "$TAG" --title "ted $TAG" --generate-notes dist/*
225225
fi
226226
227-
# Notify downstream repos (gui-cs/clet) so they can rebuild against the new Editor version.
228-
# Uses a PAT stored as CLET_DISPATCH_TOKEN with `repo` scope on gui-cs/clet.
227+
# Notify downstream repos (tui-cs/clet) so they can rebuild against the new Editor version.
228+
# Uses a PAT stored as CLET_DISPATCH_TOKEN with `repo` scope on tui-cs/clet.
229229
notify-downstream:
230230
needs: [resolve-version, pack-and-publish]
231231
runs-on: ubuntu-latest
@@ -254,7 +254,7 @@ jobs:
254254
echo "::error::Timed out after 10min waiting for $VER on flat-container"
255255
exit 1
256256
257-
- name: Dispatch to gui-cs/clet
257+
- name: Dispatch to tui-cs/clet
258258
if: ${{ env.CLET_DISPATCH_TOKEN != '' }}
259259
uses: actions/github-script@v7
260260
with:
@@ -269,12 +269,12 @@ jobs:
269269
return;
270270
}
271271
await github.rest.repos.createDispatchEvent({
272-
owner: 'gui-cs',
272+
owner: 'tui-cs',
273273
repo: 'clet',
274274
event_type: eventType,
275275
client_payload: { tge_version: process.env.VERSION }
276276
});
277-
console.log(`Dispatched ${eventType} with tge_version=${process.env.VERSION} to gui-cs/clet`);
277+
console.log(`Dispatched ${eventType} with tge_version=${process.env.VERSION} to tui-cs/clet`);
278278
279279
notify-failure:
280280
needs: [resolve-version, build-and-test, pack-and-publish]

Directory.Build.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1010

11-
<Authors>gui-cs</Authors>
12-
<Company>gui-cs</Company>
13-
<Copyright>Copyright (c) gui-cs and contributors</Copyright>
11+
<Authors>tui-cs</Authors>
12+
<Company>tui-cs</Company>
13+
<Copyright>Copyright (c) tui-cs and contributors</Copyright>
1414

1515
<!--
1616
No version lives in the repo. Versions are computed from git tags by
@@ -22,8 +22,8 @@
2222
-p:Version get an obviously-non-releasable placeholder.
2323
-->
2424
<Version Condition="'$(Version)' == ''">0.0.0-local</Version>
25-
<PackageProjectUrl>https://github.com/gui-cs/Editor</PackageProjectUrl>
26-
<RepositoryUrl>https://github.com/gui-cs/Editor</RepositoryUrl>
25+
<PackageProjectUrl>https://github.com/tui-cs/Editor</PackageProjectUrl>
26+
<RepositoryUrl>https://github.com/tui-cs/Editor</RepositoryUrl>
2727
<RepositoryType>git</RepositoryType>
2828
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2929

@@ -36,7 +36,7 @@
3636
Override per-build via -p:TerminalGuiVersion=<x>; use -p:UseLocalTerminalGui=true
3737
to build against the ../Terminal.Gui enlistment instead (see Directory.Build.targets).
3838
-->
39-
<TerminalGuiVersion Condition="'$(TerminalGuiVersion)' == ''">2.4.8</TerminalGuiVersion>
39+
<TerminalGuiVersion Condition="'$(TerminalGuiVersion)' == ''">2.4.11</TerminalGuiVersion>
4040
</PropertyGroup>
4141

4242
<ItemGroup>

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<Error Condition="'$(CI)' == 'true'"
3131
Text="UseLocalTerminalGui is a local dev-loop switch and must not be used in CI; builds there depend on Terminal.Gui $(TerminalGuiVersion) from NuGet." />
3232
<Error Condition="!Exists('$(LocalTerminalGuiProject)')"
33-
Text="UseLocalTerminalGui=true but '$(LocalTerminalGuiProject)' does not exist. Clone gui-cs/Terminal.Gui next to this repo." />
33+
Text="UseLocalTerminalGui=true but '$(LocalTerminalGuiProject)' does not exist. Clone tui-cs/Terminal.Gui next to this repo." />
3434
</Target>
3535

3636
<Target Name="_BlockLocalTerminalGuiPack"

Docs/Help/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Each editor action is identified by a `Command` name. To override a binding, set
2323

2424
```json
2525
{
26-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
26+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
2727
"Terminal.Gui.Editor.Editor.DefaultKeyBindings": {
2828
"Cut": { "All": ["Ctrl+W"] },
2929
"Copy": { "All": ["Ctrl+Shift+C"] },
@@ -68,7 +68,7 @@ Terminal.Gui ships with one built-in theme: **`Default`**. Set the `"Theme"` key
6868

6969
```json
7070
{
71-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
71+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
7272
"Theme": "Default"
7373
}
7474
```
@@ -83,7 +83,7 @@ The following example overrides the `Base` colour scheme in the `Default` theme
8383

8484
```json
8585
{
86-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
86+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
8787
"Theme": "Default",
8888
"Themes": {
8989
"Default": {
@@ -113,5 +113,5 @@ Terminal.Gui supports over 160 named colours — the full W3C/CSS colour set plu
113113

114114
## Further reading
115115

116-
- [Terminal.Gui Configuration documentation](https://gui-cs.github.io/Terminal.Gui/docs/config)
116+
- [Terminal.Gui Configuration documentation](https://tui-cs.github.io/Terminal.Gui/docs/config)
117117
- [Keyboard Reference](keyboard-reference.md) — full list of default shortcuts

Docs/Help/keyboard-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This page lists all default keyboard shortcuts. All shortcuts are `Command`-boun
6060
that grab `Ctrl+Alt+arrow`. The column-drag uses `Alt`+drag (not VS Code's `Shift+Alt`): inside
6161
a terminal, `Shift`+drag is the terminal's own forced text-selection and `Alt` makes it a
6262
rectangular block, so `Shift+Alt`+drag would never reach the editor. The mouse modifier is not
63-
yet user-configurable — tracked by [gui-cs/Terminal.Gui#4888](https://github.com/gui-cs/Terminal.Gui/issues/4888).
63+
yet user-configurable — tracked by [tui-cs/Terminal.Gui#4888](https://github.com/tui-cs/Terminal.Gui/issues/4888).
6464

6565
## Clipboard
6666

@@ -108,7 +108,7 @@ To change a shortcut, add the new binding to your `config.json`:
108108

109109
```json
110110
{
111-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
111+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
112112
"Terminal.Gui.Editor.Editor.DefaultKeyBindings": {
113113
"Cut": { "All": ["Ctrl+W"] },
114114
"Redo": { "All": ["Ctrl+Y"], "Macos": ["Cmd+Shift+Z"] }

Docs/Help/multi-caret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Column selection matches VS Code behavior: typing over a ranged column replaces
5454

5555
Intentional deviations:
5656

57-
- **D1 — mouse modifier**: VS Code starts column selection with `Shift+Alt`+drag; this editor uses **`Alt`+drag** because Windows Terminal and xterm-family terminals reserve `Shift`+drag for terminal-side forced/block selection while an app has mouse mode enabled. Configurable mouse modifiers are tracked by [gui-cs/Terminal.Gui#4888](https://github.com/gui-cs/Terminal.Gui/issues/4888).
57+
- **D1 — mouse modifier**: VS Code starts column selection with `Shift+Alt`+drag; this editor uses **`Alt`+drag** because Windows Terminal and xterm-family terminals reserve `Shift`+drag for terminal-side forced/block selection while an app has mouse mode enabled. Configurable mouse modifiers are tracked by [tui-cs/Terminal.Gui#4888](https://github.com/tui-cs/Terminal.Gui/issues/4888).
5858
- **D2 — add caret at click**: VS Code uses `Alt`+Click; this editor keeps the existing **`Ctrl`+Click** binding. `Alt` is the column-drag modifier, so an `Alt`+Click alias would need drag-threshold disambiguation.
5959
- **D3 — keyboard column-select**: not a deviation. `Ctrl+Shift+Alt+Arrow` and `Ctrl+Shift+Alt+PgUp/PgDn` match VS Code behavior when the terminal delivers the chord (TG's Kitty keyboard protocol support makes this available on capable terminals).
6060
- **D4 — sticky Column Selection Mode**: VS Code's modal toggle is out of scope; this editor implements the drag and keyboard gestures, not a persistent mode with menu/status UI.

Docs/Help/syntax-highlighting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Set the `"Theme"` key in `config.json`:
3636

3737
```json
3838
{
39-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
39+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
4040
"Theme": "Default"
4141
}
4242
```
@@ -47,7 +47,7 @@ To change how highlighted text looks, override the colour scheme values for the
4747

4848
```json
4949
{
50-
"$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
50+
"$schema": "https://tui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
5151
"Theme": "Default",
5252
"Themes": {
5353
"Default": {

GitVersion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# GitVersion 6.x configuration for gui-cs/Editor.
1+
# GitVersion 6.x configuration for tui-cs/Editor.
22
#
3-
# Same GitFlow model as gui-cs/Terminal.Gui (see its GitVersion.yml):
3+
# Same GitFlow model as tui-cs/Terminal.Gui (see its GitVersion.yml):
44
#
55
# - `main` is the release branch; every stable release is a `v*` tag on main.
66
# - `develop` always carries the `-develop` pre-release label. The version is

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
![Terminal.Gui.Editor (ted demo app)](docs/images/hero.gif)
44

5-
A reusable text-editing `View` for [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui). Drop it into your TUI app and you get the editing experience users already expect (caret movement, selection, clipboard, undo/redo, search & replace, folding, syntax highlighting, word wrap) without writing any of it yourself.
5+
A reusable text-editing `View` for [Terminal.Gui](https://github.com/tui-cs/Terminal.Gui). Drop it into your TUI app and you get the editing experience users already expect (caret movement, selection, clipboard, undo/redo, search & replace, folding, syntax highlighting, word wrap) without writing any of it yourself.
66

7-
Ships as a single NuGet package: **[`Terminal.Gui.Editor`](https://www.nuget.org/packages/Terminal.Gui.Editor)**. API documentation is published on the [Terminal.Gui DocFX site](https://gui-cs.github.io/Terminal.Gui/api/Terminal.Gui.Editor.html).
7+
Ships as a single NuGet package: **[`Terminal.Gui.Editor`](https://www.nuget.org/packages/Terminal.Gui.Editor)**. API documentation is published on the [Terminal.Gui DocFX site](https://tui-cs.github.io/Terminal.Gui/api/Terminal.Gui.Editor.html).
88

99
## What this is, and what it isn't
1010

1111
**This is a library.** It exists so that anyone building a Terminal.Gui application (developers, agents, tool authors) can embed a competent multi-line text editor into their UI with a couple of lines of code. The audience is people who need an *edit field that can hold code or prose*, not people shopping for a standalone editor.
1212

1313
Think of `Editor` the way you'd think of a rich-text control in a desktop framework: a building block for the editing surface inside your app. A script box in an IDE-like tool, a config pane in a TUI dashboard, a chat composer, a notes view, the body of a code-review widget, the input area of an LLM agent's terminal front-end. Whatever it is you're building, `Editor` is the part that handles "user types and edits text."
1414

15-
**This is not a standalone editor and not trying to be one.** It is not a competitor to vim, Emacs, Helix, micro, nano, or any other terminal editor; those are products with their own ecosystems, configs, and communities, and the world doesn't need another one. The `ted` app in this repo is a demo of the View, not a product. A real end-user editor built on top of this library, [clet](https://github.com/gui-cs/clet), lives in its own repo.
15+
**This is not a standalone editor and not trying to be one.** It is not a competitor to vim, Emacs, Helix, micro, nano, or any other terminal editor; those are products with their own ecosystems, configs, and communities, and the world doesn't need another one. The `ted` app in this repo is a demo of the View, not a product. A real end-user editor built on top of this library, [clet](https://github.com/tui-cs/clet), lives in its own repo.
1616

1717
## What's in the box
1818

@@ -28,7 +28,7 @@ dotnet run --project examples/ted - path/to/file.cs
2828
dotnet run -project examples/ted -- -read-only path/to/file.cs
2929
``
3030

31-
For a user-facing editor built on this library, se [clet](https:/github.com/gui-cs/clet).
31+
For a user-facing editor built on this library, se [clet](https:/github.com/tui-cs/clet).
3232

3333
# Status
3434

0 commit comments

Comments
 (0)