add 256color terminal support