commit | 8aaf03000b3e797b479fc250b396c7155e05ed25 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Tue Jul 27 16:46:35 2004 +0000 |
committer | David Lawrence Ramsey <pooka109@gmail.com> | Tue Jul 27 16:46:35 2004 +0000 |
tree | 3a62d30c191af6811631fc280e92ce830d1cfc8f | |
parent | ad1fd0d96814b50f2baee50e9aa4acace3d29a66 [diff] |
move the main terminal initialization functions, aside from initscr(), into a new terminal_init() function, and convert nano to use it; also, when reloading the newly spell-checked temporary file in do_alt_speller(), call terminal_init() to make sure that all the original terminal settings are restored, as a curses-based alternative spell checker (e.g. aspell) can change them git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1866 35c25a1d-7b9e-4130-9fde-d3aeb78583b8