efn/commands.c

14 lines
223 B
C

void (*commands[256])(char *) = {
NULL,
['q'] = c_quit,
['O'] = c_open,
['P'] = c_print,
['w'] = c_writeline,
['q'] = NULL,
['Q'] = c_quit,
['S'] = c_save,
['i'] = c_insertline,
['p'] = NULL,
['p'] = c_print,
['P'] = NULL,