efn/commands.c

18 lines
243 B
C
Raw Normal View History

void (*commands[256])(char *) = {
2022-04-02 11:40:10 +00:00
NULL,
2022-04-02 12:46:20 +00:00
['O'] = c_open,
2022-04-02 13:51:43 +00:00
['w'] = c_writeline,
2022-04-02 14:47:14 +00:00
['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'] = c_print,
2022-04-02 16:12:22 +00:00
['['] = c_unindent,
2022-04-02 16:28:26 +00:00
[']'] = c_indent,
['d'] = c_delete,
2022-04-02 21:28:26 +00:00
['c'] = c_copy,
2022-04-02 21:36:17 +00:00
['v'] = c_paste,
};
2022-04-02 16:12:22 +00:00
2022-04-02 21:28:26 +00:00
2022-04-02 21:36:17 +00:00