Skip to content

Commit

Permalink
terminfo: load up BCE flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Oct 9, 2020
1 parent fd93646 commit bc90eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/terminfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc90eb4

Please sign in to comment.