aboutsummaryrefslogtreecommitdiff
path: root/modules/TUI/unix.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-12-30 02:41:11 +0000
committerdam <dam@gudinoff>2025-02-14 10:58:22 +0000
commit70b329f96d85db5bbe28c5a85c5d515660437a6c (patch)
tree050ab8d00736eb9b59c84f62103c3bec0b64a44a /modules/TUI/unix.jai
parentec98642dfdf9e113702becebd8cac122ba1cc14d (diff)
downloadtask-time-tracker-70b329f96d85db5bbe28c5a85c5d515660437a6c.tar.zst
task-time-tracker-70b329f96d85db5bbe28c5a85c5d515660437a6c.zip
Update code to comply with compiler beta 0.2.004.
Diffstat (limited to 'modules/TUI/unix.jai')
-rw-r--r--modules/TUI/unix.jai3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/TUI/unix.jai b/modules/TUI/unix.jai
index 99cc61d..9208e4b 100644
--- a/modules/TUI/unix.jai
+++ b/modules/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);
}