X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=src%2Finput.h;h=6efcf6ef19e4b43613063567fa6171cca94b2167;hb=050a55681aaf01024a475eb4e68880040af758bd;hp=a3d8dd4cfb7e26a46b458e37e19418feeca9b8c0;hpb=d3c5d3d150e9f9368b2ba9f8d0f957dbb58c14d4;p=my-code%2Fivac.git 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 */