mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Be consistent on exiting curses mode
This commit is contained in:
parent
10d2d18cb2
commit
1475ebbf9a
1 changed files with 1 additions and 1 deletions
2
noice.c
2
noice.c
|
@ -138,7 +138,7 @@ printwarn(void)
|
||||||
void
|
void
|
||||||
printerr(int ret, char *prefix)
|
printerr(int ret, char *prefix)
|
||||||
{
|
{
|
||||||
endwin();
|
exitcurses();
|
||||||
printf("%s: %s\n", prefix, strerror(errno));
|
printf("%s: %s\n", prefix, strerror(errno));
|
||||||
exit(ret);
|
exit(ret);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue