mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
[direct_stop] call del_curterm when not on windows
This commit is contained in:
parent
36e9ab510d
commit
66d8eab7b7
@ -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…
Reference in New Issue
Block a user