Preserving colors in terminal