ashiba
tui framework, based on tui-rs (not ready for production)
Features
- easy to use.
- architectural structure through
ViewandControllertraits. - QOL components, clickable context-menus, popups, forms and more.
Components in ashiba shall not implement View and Controller traits.
They merely provide a model to cover basic functionality.
Components can then be used in widgets through composition to fulfil the usecase.
Quick Introduction
It's as easy as this:
where AshibaApp implements View and Controller.
The AshibaApp struct acts as a model and could look something like this:
A Controller makes it possible to define actions for your App or Widget:
A View gives freedom to style your App or Widget:
In ashiba, you should make use of a hierachical pattern, creating widgets of your own to manage the growing complexity of your app.
Contributions
Feel free to open an issue/PR explaining possible improvements or changes.
Help
Also, please do not hesitate and open an issue when needed. I am happy to help!