l33t/missions/vim1.h

12 lines
242 B
C
Raw Normal View History

2024-11-28 23:16:16 +00:00
#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);
}