mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-25 08:47:18 +02:00
Move cursor to end of the line for modify
This commit is contained in:
parent
730db811fb
commit
8d200e6ee7
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ fn tui_main(_config: &str) -> Result<(), Box<dyn Error>> {
|
|||
Key::Char('m') => {
|
||||
app.mode = AppMode::TaskModify;
|
||||
match app.task_current() {
|
||||
Some(t) => app.modify.update(t.description(), 0),
|
||||
Some(t) => app.modify.update(t.description(), t.description().len()),
|
||||
None => app.modify.update("", 0),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue