testing display related segfaults .. :(
[my-code/ivac.git] / src / input.h
index a3d8dd4..6efcf6e 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 */