[direct_stop] call del_curterm when not on windows

This commit is contained in:
nick black 2021-10-10 18:58:08 -04:00
parent 36e9ab510d
commit 66d8eab7b7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

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