added windows input port and added defines for windows and linux systems
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user