diff options
author | Eyal Soha <shawarmakarma@gmail.com> | 2020-01-21 19:56:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-11 22:17:31 +0300 |
commit | 1751b09a92e176b164a3c5527f0458d5b1154d00 (patch) | |
tree | 67687a31b2e11b3a7d1315179ebd50e9e5376d37 /t/t4026-color.sh | |
parent | 4a28eb0ae4fc666291a6a6f84a0605ccb9279278 (diff) |
color.c: support bright aixterm colors
These colors are the bright variants of the 3-bit colors. Instead of
30-37 range for the foreground and 40-47 range for the background,
they live in 90-97 and 100-107 range, respectively.
Signed-off-by: Eyal Soha <shawarmakarma@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4026-color.sh')
-rwxr-xr-x | t/t4026-color.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t4026-color.sh b/t/t4026-color.sh index 671e951ee5..78c69de90a 100755 --- a/t/t4026-color.sh +++ b/t/t4026-color.sh @@ -30,6 +30,14 @@ test_expect_success 'attribute before color name' ' color "bold red" "[1;31m" ' +test_expect_success 'aixterm bright fg color' ' + color "brightred" "[91m" +' + +test_expect_success 'aixterm bright bg color' ' + color "green brightblue" "[32;104m" +' + test_expect_success 'color name before attribute' ' color "red bold" "[1;31m" ' |