mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-23 05:11:35 +03:00
- 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
This commit is contained in:
parent
8e207bf03f
commit
6ca01b1cd8
3
nano.c
3
nano.c
@ -2976,6 +2976,8 @@ int main(int argc, char *argv[])
|
||||
filename = mallocstrcpy(filename, argv[optind]);
|
||||
}
|
||||
|
||||
signal_init();
|
||||
|
||||
/* now ncurses init stuff... */
|
||||
initscr();
|
||||
savetty();
|
||||
@ -2990,7 +2992,6 @@ int main(int argc, char *argv[])
|
||||
init_help_msg();
|
||||
help_init();
|
||||
#endif
|
||||
signal_init();
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, _("Main: set up windows\n"));
|
||||
|
Loading…
Reference in New Issue
Block a user