aboutsummaryrefslogtreecommitdiff
path: root/client/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/ui.h')
-rw-r--r--client/ui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/ui.h b/client/ui.h
index afb0817..36266ba 100644
--- a/client/ui.h
+++ b/client/ui.h
@@ -42,10 +42,10 @@ void w2_ui_paint_statusbar();
/** update and paint */
void w2_ui_main();
-/** echo ansi color code for foreground color */
-void w2_ui_set_fg(w2_e_colors color);
-/** echo ansi color code for background color */
-void w2_ui_set_bg(w2_e_colors color);
+/** get ansi color code for foreground color */
+char* w2_ui_set_fg(w2_e_colors color);
+/** get ansi color code for background color */
+char* w2_ui_set_bg(w2_e_colors color);
/** align `text` `align` with `text` buffer length `length` */
void w2_ui_align(char *text, w2_e_alignment align, unsigned int length);