aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorlostd <lostd@2f30.org>2014-10-07 20:59:41 +0300
committerlostd <lostd@2f30.org>2014-10-07 20:59:41 +0300
commit1475ebbf9a5166bed3946707a113a93552e385c3 (patch)
tree621fdb46d6b488a5dfafac6860610b86a0f83dbf /noice.c
parent10d2d18cb244d76862b508d7dffa65c6a5147040 (diff)
downloadnoice-1475ebbf9a5166bed3946707a113a93552e385c3.tar.gz
Be consistent on exiting curses mode
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noice.c b/noice.c
index 3e735fe..0f8e61f 100644
--- a/noice.c
+++ b/noice.c
@@ -138,7 +138,7 @@ printwarn(void)
void
printerr(int ret, char *prefix)
{
- endwin();
+ exitcurses();
printf("%s: %s\n", prefix, strerror(errno));
exit(ret);
}
Un proyecto texto-plano.xyz