added windows input port and added defines for windows and linux systems

This commit is contained in:
2025-01-31 13:11:21 -08:00
parent 69ce396f38
commit 6935d05349
4 changed files with 61 additions and 21 deletions

View File

@@ -1,15 +1,13 @@
#include <tart.h>
#include <iostream>
#include <unistd.h>
#include <threads.h>
#include <termios.h>
#ifdef _LINUX
#endif
char* bbuf;
int main (int argc, char *argv[]) {
int n;
int counter = 0;
struct termios te;
term_disable_cursor();
term_threaded_input_init();
bbuf = term_tinputb();