mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Add context switcher
This commit is contained in:
parent
5a8e4dd184
commit
2250c20cfa
3 changed files with 233 additions and 59 deletions
|
@ -5,6 +5,7 @@
|
|||
mod app;
|
||||
mod calendar;
|
||||
mod config;
|
||||
mod context;
|
||||
mod help;
|
||||
mod table;
|
||||
mod task_report;
|
||||
|
@ -72,7 +73,8 @@ fn tui_main(_config: &str) -> Result<(), Box<dyn Error>> {
|
|||
let maybeapp = TTApp::new();
|
||||
match maybeapp {
|
||||
Ok(mut app) => {
|
||||
app.next();
|
||||
app.task_report_next();
|
||||
app.context_next();
|
||||
|
||||
loop {
|
||||
terminal.draw(|mut frame| app.draw(&mut frame)).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue