From b7124cbb1db7cca75f1b9e5ff496312306a06bf6 Mon Sep 17 00:00:00 2001 From: nova Date: Sun, 10 May 2026 22:09:42 +0200 Subject: [PATCH] implementation of enter_shell --- interactions.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/interactions.c b/interactions.c index a5de679..52e4c72 100644 --- a/interactions.c +++ b/interactions.c @@ -278,7 +278,19 @@ void makefile(){ TODO; } 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)passes;