Code

Refreshing the current view when F5 is pressed (like gitk)
authorJonas Fonseca <fonseca@diku.dk>
Thu, 10 Apr 2008 21:59:49 +0000 (23:59 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Thu, 10 Apr 2008 22:01:17 +0000 (00:01 +0200)
tig.c

diff --git a/tig.c b/tig.c
index 2fa9018225db1e28b515e52dd1ac936de740e97b..88d5225dc62f638dfb7227d5171d5abd8f3007fd 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -731,6 +731,7 @@ static struct keybinding default_keybindings[] = {
        { KEY_UP,       REQ_PREVIOUS },
        { KEY_DOWN,     REQ_NEXT },
        { 'R',          REQ_REFRESH },
+       { KEY_F(5),     REQ_REFRESH },
        { 'O',          REQ_MAXIMIZE },
 
        /* Cursor navigation */