aboutsummaryrefslogtreecommitdiff
path: root/TUI/unix.jai
diff options
context:
space:
mode:
Diffstat (limited to 'TUI/unix.jai')
-rw-r--r--TUI/unix.jai3
1 files changed, 1 insertions, 2 deletions
diff --git a/TUI/unix.jai b/TUI/unix.jai
index 99cc61d..9208e4b 100644
--- a/TUI/unix.jai
+++ b/TUI/unix.jai
@@ -207,8 +207,7 @@
////////////////////////////////////////////////////////////////////////////////
resize_handler :: (signal_code : s32) #c_call {
- new_context : Context;
- push_context new_context {
+ push_context {
if signal_code != SIGWINCH then return;
atomic_swap(*was_resized, true);
}