ratatui / templates

Templates for bootstrapping a Rust TUI application with Ratatui
https://ratatui.rs/templates
MIT License
255 stars 36 forks source link

feat: Add button with mouse event example ✨ #35

Closed kdheepak closed 11 months ago

kdheepak commented 11 months ago

https://github.com/ratatui-org/templates/assets/1813121/99da04fb-89ce-4c63-befa-7fc8f07f6515

kdheepak commented 11 months ago

The colors in this example aren't great but I think that's my color scheme. I'm going to clean up colors later when I get more time, and going to merge as is for now, just so that there's an example of how to use the handle_events method in the counter example.

I think we will want to revisit this example entirely and come up with a better way to showcase the features of the async template.