fixed readline interaction with color prompt