[direct_stop] call del_curterm when not on windows

pull/2263/head
nick black 3 years ago
parent 36e9ab510d
commit 66d8eab7b7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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;
}

Loading…
Cancel
Save