Commit 6ca01b1c authored by Chris Allegretta's avatar Chris Allegretta
Browse files

- nano.c: - Move the termios things in main() up to signal_init(), where they...

- nano.c: - Move the termios things in main() up to signal_init(), where they should probably be anyway


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 8e207bf0
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
...@@ -2976,6 +2976,8 @@ int main(int argc, char *argv[]) ...@@ -2976,6 +2976,8 @@ int main(int argc, char *argv[])
filename = mallocstrcpy(filename, argv[optind]); filename = mallocstrcpy(filename, argv[optind]);
} }
signal_init();
/* now ncurses init stuff... */ /* now ncurses init stuff... */
initscr(); initscr();
savetty(); savetty();
...@@ -2990,7 +2992,6 @@ int main(int argc, char *argv[]) ...@@ -2990,7 +2992,6 @@ int main(int argc, char *argv[])
init_help_msg(); init_help_msg();
help_init(); help_init();
#endif #endif
signal_init();
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, _("Main: set up windows\n")); fprintf(stderr, _("Main: set up windows\n"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment