Add 256-color support to TERM