diff options
author | lostd <lostd@2f30.org> | 2014-10-07 20:59:41 +0300 |
---|---|---|
committer | lostd <lostd@2f30.org> | 2014-10-07 20:59:41 +0300 |
commit | 1475ebbf9a5166bed3946707a113a93552e385c3 (patch) | |
tree | 621fdb46d6b488a5dfafac6860610b86a0f83dbf | |
parent | 10d2d18cb244d76862b508d7dffa65c6a5147040 (diff) | |
download | nnn-1475ebbf9a5166bed3946707a113a93552e385c3.tar.gz |
Be consistent on exiting curses mode
-rw-r--r-- | noice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ printwarn(void) void printerr(int ret, char *prefix) { - endwin(); + exitcurses(); printf("%s: %s\n", prefix, strerror(errno)); exit(ret); } |