Skip to content

Commit

Permalink
kill resolved FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Sep 2, 2021
1 parent c7bb420 commit 1cac731
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/termdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ int interrogate_terminfo(tinfo* ti, const char* termtype, FILE* out, unsigned ut
return 0;

err:
// FIXME need to leave alternate screen if we entered it
if(ti->tpreserved){
(void)tcsetattr(ti->ttyfd, TCSANOW, ti->tpreserved);
free(ti->tpreserved);
Expand Down

0 comments on commit 1cac731

Please sign in to comment.