terminfo: load up BCE flag

pull/1060/head
nick black 4 years ago
parent fd936461fc
commit bc90eb41e0
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -73,6 +73,7 @@ int interrogate_terminfo(tinfo* ti){
fprintf(stderr, "Required terminfo capability 'am' not defined\n");
return -1;
}
ti->BCEflag = tigetflag("bce") == 1;
terminfostr(&ti->civis, "civis"); // cursor invisible
if(ti->civis == NULL){
terminfostr(&ti->civis, "chts");// hard-to-see cursor

Loading…
Cancel
Save