]> git.deb.at Git - pkg/abook.git/commitdiff
key tweaks
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 4 Jun 2003 12:10:10 +0000 (12:10 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 4 Jun 2003 12:10:10 +0000 (12:10 +0000)
edit.c

diff --git a/edit.c b/edit.c
index 67a8e2d7bd88e59a319a1656169b462dfee9e80e..a2d5d2283388857c8a9148dd21ac7202ab136bc3 100644 (file)
--- 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;