Remap delete key
This commit is contained in:
parent
c61e66b1f6
commit
2abc99ff3b
2 changed files with 2 additions and 2 deletions
|
|
@ -180,7 +180,7 @@ impl App {
|
||||||
(KeyCode::Char('n'), _) => self.start_new_entry(),
|
(KeyCode::Char('n'), _) => self.start_new_entry(),
|
||||||
(KeyCode::Char('p'), _) => self.start_reassign_project(),
|
(KeyCode::Char('p'), _) => self.start_reassign_project(),
|
||||||
(KeyCode::Char('v'), _) => self.start_log_view()?,
|
(KeyCode::Char('v'), _) => self.start_log_view()?,
|
||||||
(KeyCode::Char('d'), _) => self.delete_current_item()?,
|
(KeyCode::Char('x'), _) => self.delete_current_item()?,
|
||||||
_ => {}
|
_ => {}
|
||||||
},
|
},
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|
|
||||||
|
|
@ -341,7 +341,7 @@ fn render_help(frame: &mut Frame, app: &App) {
|
||||||
"",
|
"",
|
||||||
"Main Commands:",
|
"Main Commands:",
|
||||||
"Enter - Start/stop timer",
|
"Enter - Start/stop timer",
|
||||||
"d - Delete task from list",
|
"x - Delete task from list",
|
||||||
"p - Reassign project name",
|
"p - Reassign project name",
|
||||||
"v - View Watson log",
|
"v - View Watson log",
|
||||||
"Ctrl+e - Edit tasks config file",
|
"Ctrl+e - Edit tasks config file",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue