tam 1.0.14

A tasks manager cli tool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod components;
mod project_screen;
mod task_screen;

use crate::app::{App, CurrentScreen};
use ratatui::Frame;

pub fn draw(frame: &mut Frame, app: &mut App) {
    match app.current_screen {
        CurrentScreen::Project => {
            project_screen::draw(frame, app);
        }
        CurrentScreen::Task => {
            task_screen::draw(frame, app);
        }
    }
}