implementation of enter_shell
This commit is contained in:
@@ -278,7 +278,19 @@ void makefile(){
|
|||||||
TODO;
|
TODO;
|
||||||
}
|
}
|
||||||
void enter_shell(unsigned long passes, int index){
|
void enter_shell(unsigned long passes, int index){
|
||||||
TODO;
|
(void*)passes; /*remove compiler warning*/
|
||||||
|
|
||||||
|
endwin();\
|
||||||
|
echo();\
|
||||||
|
curs_set(1);\
|
||||||
|
if (system(key_binding[index].black_magic)) {
|
||||||
|
}
|
||||||
|
initscr(); /* start ncurses */
|
||||||
|
noecho(); /* hide keyboard input */
|
||||||
|
curs_set(0);
|
||||||
|
|
||||||
|
status |= (STATUS_RUN_BACKEND | STATUS_RELOAD_DIRECTORY);
|
||||||
|
|
||||||
}
|
}
|
||||||
void not_implemented(unsigned long passes, int index){
|
void not_implemented(unsigned long passes, int index){
|
||||||
(void)passes;
|
(void)passes;
|
||||||
|
|||||||
Reference in New Issue
Block a user