efn/commands.c

14 lines
223 B
C
Raw Normal View History

void (*commands[256])(char *) = {
2022-04-02 11:40:10 +00:00
NULL,
['q'] = c_quit,
2022-04-02 12:46:20 +00:00
['O'] = c_open,
['P'] = c_print,
2022-04-02 13:51:43 +00:00
['w'] = c_writeline,
2022-04-02 14:47:14 +00:00
['q'] = NULL,
['Q'] = c_quit,
2022-04-02 14:58:16 +00:00
['S'] = c_save,
2022-04-02 15:05:07 +00:00
['i'] = c_insertline,
2022-04-02 15:06:16 +00:00
['p'] = NULL,
['p'] = c_print,
['P'] = NULL,