Move Color to base; slim services/Types; colocate ICoreTerminal
- Restore Color.ts under common/base/ (not services) - Add base/ColorTypes (IColor, IColorRGB) - Add terminal/CoreTerminalTypes (ICoreTerminal, IScrollEvent, XtermListener) - Add terminal/InputHandlerTypes and input/WindowOptions for handler types - services/Types.ts: service-only (modes, mouse, osc link, cursor styles) - Update imports across src, addons, browser; re-export KeyboardResultType removed - browser tsconfig: exclude unit tests from composite build Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Imms
parent
8f5c963982
commit
5070a08b58
@@ -42,14 +42,14 @@ flowchart BT
|
||||
|
||||
| Project | Role | Notable sources |
|
||||
| --- | --- | --- |
|
||||
| `common/base` | Core utilities (lifecycle, events, platform) | `Async`, `Event`, `Lifecycle`, `Platform`, `StringBuilder`, `Version`, `CircularList` |
|
||||
| `common/base` | Core utilities (lifecycle, events, platform) | `Async`, `Event`, `Lifecycle`, `Platform`, `StringBuilder`, `Version`, `CircularList`, `Color`, `ColorTypes` |
|
||||
| `common/encoding` | UTF conversion | `TextDecoder` (moved from `input/`) |
|
||||
| `common/data` | Static terminal data | `Charsets`, `EscapeSequences` |
|
||||
| `common/buffer` | Screen buffer | `Buffer`, `BufferLine`, … |
|
||||
| `common/parser` | Escape sequence parser | `EscapeSequenceParser`, … |
|
||||
| `common/input` | Keyboard / write path helpers | `Keyboard`, `WriteBuffer`, … |
|
||||
| `common/services` | DI services and shared types | `Services`, `Types`, `Color`, … |
|
||||
| `common/terminal` | Core terminal + input handler | `CoreTerminal`, `InputHandler`, `WindowsMode` |
|
||||
| `common/services` | DI service implementations | `Services`, `Types` (modes, mouse, osc link), … |
|
||||
| `common/terminal` | Core terminal + input handler | `CoreTerminal`, `CoreTerminalTypes`, `InputHandler`, `InputHandlerTypes`, `WindowsMode` |
|
||||
| `common/public` | Public API adapters | `AddonManager`, buffer API views |
|
||||
|
||||
## TypeScript projects
|
||||
|
||||
Reference in New Issue
Block a user