aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/util.c b/src/util.c
index e0b7f5b..e5b06f1 100644
--- a/src/util.c
+++ b/src/util.c
@@ -531,13 +531,9 @@ void curses_init(void)
}
}
-int dummy_output(const char* f, ...)
-{
- (void) f;
- return 0;
-}
+bool batch_mode = false;
void batch_init(void)
{
- output = dummy_output;
+ batch_mode = true;
}