summaryrefslogtreecommitdiffstats
path: root/src/tui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui.h')
-rw-r--r--src/tui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tui.h b/src/tui.h
index 98e5e37..1b735aa 100644
--- a/src/tui.h
+++ b/src/tui.h
@@ -6,6 +6,11 @@
#include <stdbool.h>
+#define CMD_SET_STATUS(...) do { \
+ free(cmd_status); \
+ cmd_status = aprintf(__VA_ARGS__); \
+ } while (0)
+
void tui_init(void);
void tui_deinit(void);