refactoring ...

This commit is contained in:
Fakerr 2017-01-17 12:03:18 +01:00
parent 965654cde1
commit 94505adae4

View file

@ -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