This commit is contained in:
@@ -187,7 +187,7 @@ pub fn render(frame: &mut Frame, app: &App) {
|
||||
|
||||
let help = match app.view {
|
||||
View::Tasks => {
|
||||
"q quit Tab routines h/l day t today j/k move a add Space complete s move x archive r refresh"
|
||||
"q quit Tab routines h/l day t today j/k move a add e edit Space complete s move x archive r refresh"
|
||||
}
|
||||
View::Routines => "q quit Tab tasks j/k move a add routine r refresh",
|
||||
View::Archive => "q quit Tab tasks j/k move u restore x delete permanently r refresh",
|
||||
@@ -207,6 +207,7 @@ pub fn render(frame: &mut Frame, app: &App) {
|
||||
frame.render_widget(Clear, area);
|
||||
let title = match form.kind {
|
||||
FormKind::Task => format!("New task for {}", app.date),
|
||||
FormKind::EditTask { .. } => "Edit task".to_owned(),
|
||||
FormKind::Routine => "New routine".to_owned(),
|
||||
FormKind::Reschedule { .. } => "Reschedule task".to_owned(),
|
||||
FormKind::Device => "Register encryption device".to_owned(),
|
||||
|
||||
Reference in New Issue
Block a user