fix the bug of delline.
add terminal color usage.