X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fivac.git;a=blobdiff_plain;f=src%2Finput.h;h=6efcf6ef19e4b43613063567fa6171cca94b2167;hp=a3d8dd4cfb7e26a46b458e37e19418feeca9b8c0;hb=40031b2d692a7b83e437535045ece6c58f8bf31e;hpb=d3c5d3d150e9f9368b2ba9f8d0f957dbb58c14d4 diff --git a/src/input.h b/src/input.h index a3d8dd4..6efcf6e 100644 --- a/src/input.h +++ b/src/input.h @@ -22,12 +22,14 @@ #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 */