Add overline attribute checking
This commit is contained in:
parent
745c16704a
commit
260f33dfb7
|
@ -265,6 +265,12 @@ int main(int argc, char *argv[]) {
|
||||||
printf("%sTerminfo test.%s\n", enter_italics_mode, exit_italics_mode);
|
printf("%sTerminfo test.%s\n", enter_italics_mode, exit_italics_mode);
|
||||||
printf(CSI "3m" "SGR test.\n" SGR0);
|
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");
|
printf("-- Bar cursor\n");
|
||||||
const char *Ss = tigetstr("Ss");
|
const char *Ss = tigetstr("Ss");
|
||||||
const char *Se = tigetstr("Se");
|
const char *Se = tigetstr("Se");
|
||||||
|
|
Loading…
Reference in New Issue