summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-08-07 01:01:02 +0200
committerGitHub <noreply@github.com>2023-08-07 01:01:02 +0200
commita38315454add264a41094524e1fcf435acb85fe8 (patch)
treefb6cf7d52f641e35316b4db39a1a424927d77ba5 /main.c
parentbb5eba4db8895d862038825b84d5b7a94ee5cbb0 (diff)
parent2593270498be82de82f770cb3744d9e5f8d0b0bd (diff)
Merge pull request #157 from jow-/signal-handling
Introduce signal handling
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 138447a..a51c370 100644
--- a/main.c
+++ b/main.c
@@ -502,7 +502,8 @@ main(int argc, char **argv)
.strict_declarations = false,
.lstrip_blocks = true,
.trim_blocks = true,
- .raw_mode = true
+ .raw_mode = true,
+ .setup_signal_handlers = true
};
app = appname(argv[0]);