proxy.golang.org : codeberg.org/anaseto/gruid
Package gruid provides a model for building grid-based applications. The interface abstracts rendering and input for different platforms. There are drivers for terminal apps (gruid-tcell), native graphical apps (gruid-sdl) and browser apps (gruid-js). The package uses an architecture of updating a model in response to messages strongly inspired from the bubbletea module for building terminal apps (https://github.com/charmbracelet/bubbletea), which in turn is based on the Elm Architecture (https://guide.elm-lang.org/architecture/). The typical usage looks like this: The values of type gruid.Effect returned by Update are optional and represent concurrently executed functions that produce messages. The gruid.Grid type is a convenient 2-dimensional slice type representing the screen's logical contents. See the relevant types documentation for details and usage.
Registry
- Homepage
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/codeberg.org/anaseto/gruid
Keywords:
elm-architecture
, go
, golang
, gruid
, pathfinding
, roguelikedev
, ui
License: ISC
Latest release: 2 months ago
First release: almost 5 years ago
Namespace: codeberg.org/anaseto
Dependent packages: 7
Stars: 0 on codeberg.org
Forks: 0 on codeberg.org
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago