#include "../proc.h" #include "../state.h" #include "../io.h" void vim1(void * data) { printf("Open nano\n"); state_t * state = (state_t *)data; wait_new_process("vim"); type(state->pfd, "iWell done!"); fflush(stdout); }