diff --git a/git-hlog b/git-hlog index e447e4d..884287c 100644 --- a/git-hlog +++ b/git-hlog @@ -126,9 +126,9 @@ TN=$(( $NI < $((SN -1)) ? $NI : $((SN -1)))) # Number of lines that we will disp # Set keys. au="`echo -e '\e[A'`" # arrow up -au_1="k" # arrow up +au_1="k" # arrow up ad="`echo -e '\e[B'`" # arrow down -ad_1="j" # arrow down +ad_1="j" # arrow down ec="`echo -e '\e'`" # escape nl="`echo -e '\n'`" # newline @@ -158,7 +158,6 @@ function print_diff() { do echo -n "$NORMAL" [[ $CP == $i ]] && echo -n "$REVERSE" - echo "${COMMITS[$i - 1]}" if [[ $CP == $i ]]; then @@ -200,7 +199,6 @@ do do echo -n "$NORMAL" [[ $CP == $i ]] && echo -n "$REVERSE" - echo "${COMMITS[$i - 1]}" done