commit | 569054ea21aee41d84e9b864c0c381ab9b988541 | [log] [tgz] |
---|---|---|
author | Thara Gopinath <thara.gopinath@linaro.org> | Fri Jul 14 13:15:46 2017 -0400 |
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | Tue Sep 19 12:56:31 2017 -0700 |
tree | 697c01b4fd55f2f41f2f1261ea2192fd9385bb46 | |
parent | d78818c4670e4ebc59ed98a5322fcee286e3b4fc [diff] |
Check if terminal supports changing color definitions. This patch adds the check whether the terminal supports colors and allows changing color definitions before actually attempting to redifine the color definitions. Without this check, attempting to change color definitions in a color not supported terminal causes a hang. Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>