Hilbish/docs/hooks/signal.md

41 lines
569 B
Markdown
Raw Permalink Normal View History

---
title: Signal
description:
layout: doc
menu:
docs:
parent: "Signals"
---
2022-03-06 16:04:01 +00:00
## signal.sigint
Thrown when Hilbish receive the SIGINT signal,
aka when Ctrl-C is pressed.
2022-03-06 16:04:01 +00:00
#### Variables
This signal returns no variables.
<hr>
## signal.resize
Thrown when the terminal is resized.
#### Variables
This signal returns no variables.
<hr>
## signal.sigusr1
Thrown when SIGUSR1 is sent to Hilbish.
#### Variables
This signal returns no variables.
<hr>
## signal.sigusr2
Thrown when SIGUSR2 is sent to Hilbish.
#### Variables
This signal returns no variables.
2022-03-06 16:04:01 +00:00