|
|
| version 1.2.2.6, 2010/06/07 11:32:50 | version 1.2.2.7, 2010/06/07 11:54:00 |
|---|---|
| Line 7 | Line 7 |
| * | * |
| *************************************************************************/ | *************************************************************************/ |
| #include "global.h" | #include "global.h" |
| #include "cli.h" | |
| #pragma GCC visibility push(hidden) | #pragma GCC visibility push(hidden) |
| Line 852 cliInit(int fin, int fout, const char *prompt) | Line 853 cliInit(int fin, int fout, const char *prompt) |
| return NULL; | return NULL; |
| } else | } else |
| memset(keys, 0, sizeof(bindkey_t) * (MAX_BINDKEY + 1)); | memset(keys, 0, sizeof(bindkey_t) * (MAX_BINDKEY + 1)); |
| /* add helper functions */ | |
| cli_addCommand(buffer, "exit", 0, cli_Cmd_Exit, "exit <cr>", "Exit from console"); | |
| /* fill key bindings */ | /* fill key bindings */ |
| // ascii chars & ctrl+chars | // ascii chars & ctrl+chars |