diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-16 16:47:09 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-16 16:47:09 +0000 |
commit | 080cfb8002d95978b40c92596168bc8a71647b90 (patch) | |
tree | 2672bb3f32e81d588f53e95fc8d6f380d500a273 /crawl-ref/source/libunix.cc | |
parent | 0a96b577fb1ffcd0596544de48cc5129dfc391dc (diff) | |
download | crawl-ref-080cfb8002d95978b40c92596168bc8a71647b90.tar.gz crawl-ref-080cfb8002d95978b40c92596168bc8a71647b90.zip |
Patches from debian package (Guus Sliepen.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1325 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r-- | crawl-ref/source/libunix.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 1ef0d2ea45..65eac622ef 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -332,6 +332,9 @@ void unixcurses_startup( void ) void unixcurses_shutdown() { + // resetty(); + endwin(); + tcsetattr(0, TCSAFLUSH, &def_term); #ifdef USE_UNIX_SIGNALS @@ -343,9 +346,6 @@ void unixcurses_shutdown() signal(SIGINT, SIG_DFL); #endif #endif - - // resetty(); - endwin(); } |