summaryrefslogtreecommitdiffstats
path: root/src/exec.c
diff options
context:
space:
mode:
authormongo <andmarti@gmail.com>2017-04-06 15:39:32 -0300
committermongo <andmarti@gmail.com>2017-04-06 15:39:32 -0300
commitb66f544f1b2e2fcdf7b36343b833cf712419f639 (patch)
tree40c69e82163758cf0b0cdb2d01b673a8608b9021 /src/exec.c
parent2dc1b81683d0349fa559e4248f3c7197bcbc7f5f (diff)
completed ui isolation. added dumb ui example
Diffstat (limited to 'src/exec.c')
-rw-r--r--src/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exec.c b/src/exec.c
index d6176d3..1c726c3 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -14,6 +14,7 @@
#include "main.h" // exit_app
int exec_cmd (char * line) {
+#ifdef NCURSES
int waitres;
def_prog_mode();
@@ -81,5 +82,6 @@ int exec_cmd (char * line) {
refresh();
update(TRUE);
}
+#endif
return 0;
}