ratata 0.1.1

A tiny application builder for ratatui that includes everything you need to get started.
Documentation
1
2
3
4
5
6
7
8
9
use ratatui::Frame;

use crate::{message::Message, command::Command};

pub trait Screen {
    fn render(&self, f: &mut Frame<'_>);

    fn update(&mut self, message: Message) -> Option<Command>;
}