- Fix screen getting trashed on signals nano can catch (TERM and HUP).  New global variable curses_ended changes to winio.c:statubar() and nano.c:die()


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/proto.h b/proto.h
index 1ab4f4d..e572a85 100644
--- a/proto.h
+++ b/proto.h
@@ -115,6 +115,8 @@
 extern historyheadtype replace_history;
 #endif
 
+extern int curses_ended;
+
 /* Functions we want available */
 
 /* Public functions in color.c */