delete all windows on free_view()
Avoid terminal corruption on exit
This commit is contained in:
parent
283bd63877
commit
96499a06cb
1 changed files with 2 additions and 4 deletions
|
@ -238,10 +238,8 @@ int elocation_to_coord(e_location l){
|
|||
}
|
||||
|
||||
void free_view(p_view v){
|
||||
if(v->p_uttt->inception_level == 2){
|
||||
delwin(v->w_uttt);
|
||||
v->w_uttt = NULL;
|
||||
}
|
||||
delwin(v->w_uttt);
|
||||
v->w_uttt = NULL;
|
||||
delwin(v->w_ttt);
|
||||
v->w_ttt = NULL;
|
||||
v->w_uttt = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue