aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/input.c b/input.c
index 12641c7e..256a37e7 100644
--- a/input.c
+++ b/input.c
@@ -1489,7 +1489,11 @@ void input_destroy()
hash_foreach( &all_mappings, &destroy_mapping );
hash_destroy( &all_mappings );
- del_curterm( cur_term );
+ if( del_curterm( cur_term ) == ERR )
+ {
+ debug( 0, _(L"Error while closing terminfo") );
+ }
+
}
/**