fixed bug with colored prompts and readline