Skip to content

Commit

Permalink
[direct_stop] call del_curterm when not on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Oct 10, 2021
1 parent 36e9ab5 commit 66d8eab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,9 @@ ncdirect_stop_minimal(void* vnc){
ret |= tcsetattr(nc->tcache.ttyfd, TCSANOW, nc->tcache.tpreserved);
}
ret |= ncdirect_flush(nc);
#ifndef __MINGW64__
del_curterm(cur_term);
#endif
return ret;
}

Expand Down

0 comments on commit 66d8eab

Please sign in to comment.