A simple, high performance text editor.
- ConfigUpdate interface with apply(*State) method - ConfigEvent and ScaleEvent both implement ConfigUpdate - Logic.ConfigChan() accepts both types - Type switch in Run() differentiates ConfigEvent vs ScaleEvent - main.go sends both on same ConfigChan() |
||
|---|---|---|
| cmd/pad | ||
| doc | ||
| internal | ||
| go.mod | ||
| go.sum | ||
| pad | ||