l33t/missions/vim1.h

12 lines
242 B
C

#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);
}