ratatui / ratatui-website

Ratatui Documentation
http://ratatui.rs/
MIT License
100 stars 73 forks source link

New counter tutorial part 3: using a channel for logs #508

Open kdheepak opened 6 months ago

kdheepak commented 6 months ago

Based on discussion on Discord, this is a good idea for a section in the counter tutorial.

joshka commented 6 months ago

A stub of this is at https://github.com/ratatui-org/ratatui-website/tree/jm/counter-app-events/code/counter-app-events

TODO - change the implementation of the logging to use an mpsc::Channel instead of a shared Vec. and simplify the event idea.

Relevant Discord link: https://discord.com/channels/1070692720437383208/1072907135664529508/1218061222365237258