+int input_get_char(t_input *input,int (*callback)(t_input *input,void *ptr),
+ void *ptr) {
+
+ char data[1];
+
+ if(read(0,data,1)==-1) {
+ perror("[input] read call");
+ return I_ERROR;
+ }
+
+ if(input->c_count==MAX_CONTENT) {
+ puts("[input] max input length reached");
+ return I_ERROR;
+ }
+
+ input->content[input->c_count]=data[0];
+ input->c_count++;