aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 785d70a..6546b79 100644
--- a/ui.c
+++ b/ui.c
@@ -1003,6 +1003,15 @@ void ui_clear_key_queue() {
pthread_mutex_unlock(&key_queue_mutex);
}
+void ui_set_log_stdout(int enabled) {
+ ui_log_stdout = enabled;
+}
+
+int ui_should_log_stdout()
+{
+ return ui_log_stdout;
+}
+
void ui_set_show_text(int value) {
show_text = value;
}