summaryrefslogtreecommitdiff
path: root/conio.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 18:20:36 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 18:20:36 -0800
commitb4c5ec629af344502e2810210ea5f8e8e60d1c78 (patch)
tree5e4612736b9028379adb838844b528772ff746f1 /conio.c
parent03cfa74f489c30c5ec191adfffe6a5314231f6fe (diff)
cleaned up some things
Diffstat (limited to 'conio.c')
-rw-r--r--conio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/conio.c b/conio.c
index 9b87cc9..50b7e0f 100644
--- a/conio.c
+++ b/conio.c
@@ -2,6 +2,7 @@
#include <termios.h>
#include <unistd.h>
#include <stdio.h>
+
int getch(void) {
struct termios oldattr, newattr;
int ch;