history searching and command highlighting