]> hackdaworld.org Git - my-code/ivac.git/blobdiff - src/input.h
copy timeout into seperate timeval struct for select call
[my-code/ivac.git] / src / input.h
index a3d8dd4cfb7e26a46b458e37e19418feeca9b8c0..6efcf6ef19e4b43613063567fa6171cca94b2167 100644 (file)
 
 #define LINE_BUFFERED (1<<0)
 #define CONTENT_BUFFER (1<<1)
+#define INPUT_ECHO (1<<2)
 
 /* input specific variables */
 typedef struct s_input {
   char *content;
   int c_count;
   unsigned char mode;
+  struct termios tios;
 } t_input;
 
 /* function prototypes */