|
1 | | -# System.Terminal |
| 1 | +# Cathode |
2 | 2 |
|
3 | 3 | <div align="center"> |
4 | | - <img src="system-terminal.svg" |
| 4 | + <img src="cathode.svg" |
5 | 5 | width="128" /> |
6 | 6 | </div> |
7 | 7 |
|
|
13 | 13 |
|
14 | 14 | <div align="center"> |
15 | 15 |
|
16 | | -[](LICENSE.md) |
17 | | -[](https://github.com/alexrp/system-terminal/commits/master) |
18 | | -[](https://github.com/alexrp/system-terminal/actions/workflows/build.yml) |
| 16 | +[](LICENSE.md) |
| 17 | +[](https://github.com/alexrp/cathode/commits/master) |
| 18 | +[](https://github.com/alexrp/cathode/actions/workflows/build.yml) |
19 | 19 | [](https://github.com/sponsors/alexrp) |
20 | | -[](https://github.com/alexrp/system-terminal/discussions) |
| 20 | +[](https://github.com/alexrp/cathode/discussions) |
21 | 21 |
|
22 | 22 | </div> |
23 | 23 |
|
24 | 24 | --- |
25 | 25 |
|
26 | | -System.Terminal is a toolkit for writing terminal-based applications. It is |
27 | | -effectively a complete replacement for System.Console. |
| 26 | +Cathode is a toolkit for writing terminal-based applications. It is effectivel |
| 27 | +a complete replacement for System.Console. |
28 | 28 |
|
29 | 29 | With the Windows console host now supporting virtual terminal sequences, it |
30 | 30 | makes little sense for console interaction to still be centered around the old |
31 | | -Windows console host and the many limitations it had. System.Terminal provides |
32 | | -an API centered around a [VT100 terminal](https://vt100.net) with some |
33 | | -extensions from later models and modern terminal emulators. It works on all |
34 | | -desktop platforms that .NET 6+ supports. |
| 31 | +Windows console host and the many limitations it had. Cathode provides an API |
| 32 | +centered around a [VT100 terminal](https://vt100.net) with some extensions from |
| 33 | +later models and modern terminal emulators. It works on all desktop platforms |
| 34 | +that .NET 6+ supports. |
35 | 35 |
|
36 | | -Please note that, since System.Terminal replaces a very fundamental component of |
37 | | -the framework, the use of certain framework APIs becomes problematic. As an |
38 | | -example, intermixing System.Terminal and System.Console usage *will* break. |
39 | | -Referencing System.Terminal (or a package that uses it) will pull in a Roslyn |
40 | | -analyzer which will diagnose problematic APIs and suggest working replacements. |
| 36 | +Please note that, since Cathode replaces a very fundamental component of the |
| 37 | +framework, the use of certain framework APIs becomes problematic. As an example, |
| 38 | +intermixing Cathode and System.Console usage *will* break. Referencing Cathode |
| 39 | +(or a package that uses it) will pull in a Roslyn analyzer which will diagnose |
| 40 | +problematic APIs and suggest working replacements. |
41 | 41 |
|
42 | 42 | ## Usage |
43 | 43 |
|
44 | 44 | This project offers the following packages: |
45 | 45 |
|
46 | 46 | | Package | Description | Downloads | |
47 | 47 | | -: | - | :- | |
48 | | -| [![Terminal][core-img]][core-pkg] | Provides the core terminal API. | ![Downloads][core-dls] | |
49 | | -| [![Terminal.Analyzers][analyzers-img]][analyzers-pkg] | Provides diagnostic analyzers and source generators. | ![Downloads][analyzers-dls] | |
50 | | -| [![Terminal.Hosting][hosting-img]][hosting-pkg] | Provides the terminal hosting model. | ![Downloads][hosting-dls] | |
51 | | -| [![Terminal.Extensions][extensions-img]][extensions-pkg] | Provides terminal hosting and logging for the .NET Generic Host. | ![Downloads][extensions-dls] | |
52 | | - |
53 | | -[core-pkg]: https://www.nuget.org/packages/Terminal |
54 | | -[analyzers-pkg]: https://www.nuget.org/packages/Terminal.Analyzers |
55 | | -[hosting-pkg]: https://www.nuget.org/packages/Terminal.Hosting |
56 | | -[extensions-pkg]: https://www.nuget.org/packages/Terminal.Extensions |
57 | | - |
58 | | -[core-img]: https://img.shields.io/nuget/v/Terminal?label=Terminal |
59 | | -[analyzers-img]: https://img.shields.io/nuget/v/Terminal.Analyzers?label=Terminal.Analyzers |
60 | | -[hosting-img]: https://img.shields.io/nuget/v/Terminal.Hosting?label=Terminal.Hosting |
61 | | -[extensions-img]: https://img.shields.io/nuget/v/Terminal.Extensions?label=Terminal.Extensions |
62 | | - |
63 | | -[core-dls]: https://img.shields.io/nuget/dt/Terminal?label= |
64 | | -[analyzers-dls]: https://img.shields.io/nuget/dt/Terminal.Analyzers?label= |
65 | | -[hosting-dls]: https://img.shields.io/nuget/dt/Terminal.Hosting?label= |
66 | | -[extensions-dls]: https://img.shields.io/nuget/dt/Terminal.Extensions?label= |
| 48 | +| [![Cathode][core-img]][core-pkg] | Provides the core terminal API. | ![Downloads][core-dls] | |
| 49 | +| [![Cathode.Analyzers][analyzers-img]][analyzers-pkg] | Provides diagnostic analyzers and source generators. | ![Downloads][analyzers-dls] | |
| 50 | +| [![Cathode.Hosting][hosting-img]][hosting-pkg] | Provides the terminal hosting model. | ![Downloads][hosting-dls] | |
| 51 | +| [![Cathode.Extensions][extensions-img]][extensions-pkg] | Provides terminal hosting and logging for the .NET Generic Host. | ![Downloads][extensions-dls] | |
| 52 | + |
| 53 | +[core-pkg]: https://www.nuget.org/packages/Cathode |
| 54 | +[analyzers-pkg]: https://www.nuget.org/packages/Cathode.Analyzers |
| 55 | +[hosting-pkg]: https://www.nuget.org/packages/Cathode.Hosting |
| 56 | +[extensions-pkg]: https://www.nuget.org/packages/Cathode.Extensions |
| 57 | + |
| 58 | +[core-img]: https://img.shields.io/nuget/v/Cathode?label=Cathode |
| 59 | +[analyzers-img]: https://img.shields.io/nuget/v/Cathode.Analyzers?label=Cathode.Analyzers |
| 60 | +[hosting-img]: https://img.shields.io/nuget/v/Cathode.Hosting?label=Cathode.Hosting |
| 61 | +[extensions-img]: https://img.shields.io/nuget/v/Cathode.Extensions?label=Cathode.Extensions |
| 62 | + |
| 63 | +[core-dls]: https://img.shields.io/nuget/dt/Cathode?label= |
| 64 | +[analyzers-dls]: https://img.shields.io/nuget/dt/Cathode.Analyzers?label= |
| 65 | +[hosting-dls]: https://img.shields.io/nuget/dt/Cathode.Hosting?label= |
| 66 | +[extensions-dls]: https://img.shields.io/nuget/dt/Cathode.Extensions?label= |
67 | 67 |
|
68 | 68 | To install a package, run `dotnet add package <name>`. |
69 | 69 |
|
@@ -96,7 +96,7 @@ emulators: |
96 | 96 |
|
97 | 97 | (Even if you are using a terminal emulator that is not listed here, chances are |
98 | 98 | that it will work just fine; these are just the ones that are tested regularly |
99 | | -while developing System.Terminal.) |
| 99 | +while developing Cathode.) |
100 | 100 |
|
101 | 101 | ## Statistics |
102 | 102 |
|
|
0 commit comments