X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=views%2Ftodo.c;fp=views%2Ftodo.c;h=d59307ec79eb8db1a33715cedb6d0e4950d2f68f;hp=3f2b634a0ed904bda0f8bf33bd5d97448c4a56b0;hb=c104b1f201f243dabb18cbd712b20a8351d269be;hpb=569a0db79c00169e15d5abed2a82f28d1b2391c4 diff --git a/views/todo.c b/views/todo.c index 3f2b634..d59307e 100644 --- a/views/todo.c +++ b/views/todo.c @@ -128,9 +128,8 @@ int todo_run(int key, mmask_t btn, int row, int col) case 'n': ref = 1; show_new ^= 1; break; case 's': ref = 1; show_started ^= 1; break; case 'f': ref = 1; show_finished ^= 1; break; - case '\012': // enter - view_edit(EDIT_TODO); - return 1; + case 'e': view_edit(EDIT_TODO); return 1; + case '\012': view_edit(EDIT_TODO); return 1; // enter } /* Move more if we're on the edge of a group */