Term validation for 256color support.