aboutsummaryrefslogtreecommitdiff
path: root/client/ui.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-29 22:34:19 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-29 22:34:19 +0200
commit87d8b0ceb349e101b693cf43336a98647f4b92dc (patch)
tree6089767f348807710d59c326e6e062b904e85668 /client/ui.h
parent2c591a5e97ad9f354844d3d2b04a4190f9c6fc1f (diff)
garbage ui functions + janky status bar
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);