From: Jaakko Heinonen Date: Wed, 4 Jun 2003 12:10:10 +0000 (+0000) Subject: key tweaks X-Git-Tag: upstream/0.6.1~2^2~252 X-Git-Url: https://git.deb.at/?p=pkg%2Fabook.git;a=commitdiff_plain;h=56245080062a7f3d46b47bf7def240115e34fb38 key tweaks --- diff --git a/edit.c b/edit.c index 67a8e2d..a2d5d22 100644 --- a/edit.c +++ b/edit.c @@ -398,8 +398,10 @@ edit_loop(int item) break; case KEY_RIGHT: tab = tab == MAX_TAB ? 0 : tab + 1; break; + case KEY_UP: case '<': case 'k': if(is_valid_item(item-1)) item--; break; + case KEY_DOWN: case '>': case 'j': if(is_valid_item(item+1)) item++; break; case 'r': roll_emails(item); break;