Add overline attribute checking

This commit is contained in:
Přemysl Eric Janouch 2020-09-13 09:28:54 +02:00
parent 745c16704a
commit 260f33dfb7
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -265,6 +265,12 @@ int main(int argc, char *argv[]) {
printf("%sTerminfo test.%s\n", enter_italics_mode, exit_italics_mode);
printf(CSI "3m" "SGR test.\n" SGR0);
printf("-- Overline attribute\n");
const char *Smol = tigetstr("Smol");
if (Smol && Smol != (char*)-1)
printf("Terminfo: found tmux extension.\n");
printf(CSI "53m" "SGR test.\n" SGR0);
printf("-- Bar cursor\n");
const char *Ss = tigetstr("Ss");
const char *Se = tigetstr("Se");