aboutsummaryrefslogtreecommitdiff
path: root/TUI/unix.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2023-09-21 09:58:41 +0100
committerdam <dam@gudinoff>2023-09-21 09:58:41 +0100
commit1b6fbda3a7f9fa95e2dbbafea56388900167639c (patch)
tree8f107ea66d62362ab55087f30551269fb8840a9a /TUI/unix.jai
parent12181226862c73ab04992850b54c91e503f59bce (diff)
downloadtask-time-tracker-1b6fbda3a7f9fa95e2dbbafea56388900167639c.tar.zst
task-time-tracker-1b6fbda3a7f9fa95e2dbbafea56388900167639c.zip
Fixed draw_box procedure. Added buggy prototype for read_input.
Diffstat (limited to 'TUI/unix.jai')
-rw-r--r--TUI/unix.jai2
1 files changed, 1 insertions, 1 deletions
diff --git a/TUI/unix.jai b/TUI/unix.jai
index 439447d..e5c81c3 100644
--- a/TUI/unix.jai
+++ b/TUI/unix.jai
@@ -33,7 +33,7 @@ OS_prepare_terminal :: () {
term_new.c_oflag &= 0xFFFFFFFE;// ~OPOST;
term_new.c_lflag &= 0xFFFF7FB4;// ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
term_new.c_cflag &= 0xFFFFFECF;// ~(CSIZE | PARENB);
- term_new.c_cflag |= 0x00000030;
+ term_new.c_cflag |= 0x00000030; // TODO WHAT IS THIS?
tcsetattr(STDIN_FILENO, 0, *term_new);
}