Support using COLORTERM to set 256-color mode