]> git.deb.at Git - pkg/abook.git/commitdiff
Added refresh command to editor
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 6 Apr 2001 14:10:58 +0000 (14:10 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 6 Apr 2001 14:10:58 +0000 (14:10 +0000)
edit.c

diff --git a/edit.c b/edit.c
index 72c520f6cc4e1dff6fbec9a90244418e72b26236..d06c20a75fffcfce607d77b077a2042e6cf0583b 100644 (file)
--- a/edit.c
+++ b/edit.c
@@ -373,6 +373,7 @@ edit_loop(int item)
                case 'r': roll_emails(item); break;
                case '?': display_editor_help(editw); break;
                case 'u': edit_undo(item, RESTORE_ITEM); break;
+               case 12 : clearok(stdscr, 1); break; /* ^L (refresh screen) */
                default:  return edit_field(tab, c, item);
        }