aboutsummaryrefslogtreecommitdiff
path: root/modules/TUI/unix.jai
diff options
context:
space:
mode:
Diffstat (limited to 'modules/TUI/unix.jai')
-rw-r--r--modules/TUI/unix.jai6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/TUI/unix.jai b/modules/TUI/unix.jai
index e1c0b3a..a8e0edf 100644
--- a/modules/TUI/unix.jai
+++ b/modules/TUI/unix.jai
@@ -263,7 +263,7 @@ OS_prepare_terminal :: () -> success := true {
return;
}
-OS_reset_terminal :: inline () -> success := true {
+OS_reset_terminal :: () -> success := true {
restore_resize_handler();
error := tcsetattr(STDIN_FILENO, xx Optional_Actions.TCSANOW, *initial_tio_mode);
if error {
@@ -274,7 +274,7 @@ OS_reset_terminal :: inline () -> success := true {
return;
}
-OS_flush_input :: inline () -> success := true {
+OS_flush_input :: () -> success := true {
error := tcflush(STDIN_FILENO, xx Queue_Selector.TCIFLUSH);
if error {
error_code, error_string := get_error_value_and_string();
@@ -314,6 +314,6 @@ OS_wait_for_input :: (timeout_milliseconds: s32 = -1) -> is_input_available: boo
return ifx result > 0 then true else false;
}
-OS_was_terminal_resized :: () -> bool {
+OS_was_terminal_resized :: inline () -> bool {
return atomic_swap(*was_resized, false);
}