mirror of
https://github.com/jarun/nnn.git
synced 2025-03-31 18:46:33 +00:00
Ignore SIGINT to allow returning back to noice when we kill the screensaver
Use 'q' to quit.
This commit is contained in:
parent
1e18b85e56
commit
62736bf43a
1 changed files with 2 additions and 0 deletions
2
noice.c
2
noice.c
|
@ -918,6 +918,8 @@ main(int argc, char *argv[])
|
|||
ipath = "/";
|
||||
}
|
||||
|
||||
signal(SIGINT, SIG_IGN);
|
||||
|
||||
/* Test initial path */
|
||||
if (canopendir(ipath) == 0)
|
||||
printerr(1, ipath);
|
||||
|
|
Loading…
Add table
Reference in a new issue