aboutsummaryrefslogtreecommitdiff
path: root/src/signal
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal')
-rw-r--r--src/signal/sigwinch_handler.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/signal/sigwinch_handler.cc b/src/signal/sigwinch_handler.cc
new file mode 100644
index 0000000..4b692ed
--- /dev/null
+++ b/src/signal/sigwinch_handler.cc
@@ -0,0 +1,13 @@
+#include "signal_handler.h"
+
+#include "line/getter.h"
+
+namespace ov4
+{
+
+void sigwinch_handler([[maybe_unused]] int sig)
+{
+ windows_size_changed = true;
+}
+
+} \ No newline at end of file