We actually test bold as well

This commit is contained in:
Přemysl Eric Janouch 2020-09-12 09:50:22 +02:00
parent 15d0bd5bd6
commit 7f7b725378
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ int main(int argc, char *argv[]) {
// - see acolors.sh from xterm's vttests, it changes terminal colours // - see acolors.sh from xterm's vttests, it changes terminal colours
// (and urxvt passed that, at least apparently) // (and urxvt passed that, at least apparently)
printf("-- Blink attribute\n"); printf("-- Bold and blink attributes\n");
bool bbc_supported = enter_bold_mode && enter_blink_mode bool bbc_supported = enter_bold_mode && enter_blink_mode
&& set_a_foreground && set_a_background && exit_attribute_mode; && set_a_foreground && set_a_background && exit_attribute_mode;
printf("Terminfo: %d\n", bbc_supported); printf("Terminfo: %d\n", bbc_supported);