Skip to content

Commit

Permalink
[cmake] remove sgr-direct from test set #1344
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Mar 15, 2021
1 parent 9b15854 commit 49eca6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Expand Up @@ -665,10 +665,6 @@ add_test(
NAME sgr-full
COMMAND sgr-full
)
add_test(
NAME sgr-direct
COMMAND sgr-direct
)
add_test(
NAME rgb
COMMAND rgb
Expand Down
1 change: 1 addition & 0 deletions src/lib/terminfo.c
Expand Up @@ -130,6 +130,7 @@ int interrogate_terminfo(tinfo* ti, const char* termname, unsigned utf8){
terminfostr(&ti->italics, "sitm"); // begin italic mode
terminfostr(&ti->italoff, "ritm"); // end italic mode
terminfostr(&ti->sgr, "sgr"); // define video attributes
ti->sgr = NULL;
terminfostr(&ti->sgr0, "sgr0"); // turn off all video attributes
terminfostr(&ti->op, "op"); // restore defaults to default pair
terminfostr(&ti->oc, "oc"); // restore defaults to all colors
Expand Down

0 comments on commit 49eca6d

Please sign in to comment.