summaryrefslogtreecommitdiff
path: root/client/ui.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-06 19:48:09 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-06 19:48:09 +0200
commitae8beb20a2a837824cfda4d748fbe07b26a161f0 (patch)
treea7c2bf5fc6cbddc1ae62107050dcc6aa793cc7ae /client/ui.c
parent8c1d31ef16745cee07059788386cd88c718092ac (diff)
tab bar working
Diffstat (limited to 'client/ui.c')
-rw-r--r--client/ui.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/client/ui.c b/client/ui.c
index a1d15ad..10e1814 100644
--- a/client/ui.c
+++ b/client/ui.c
@@ -13,10 +13,10 @@
WINDOW *g_w2_ui_win;
WINDOW *g_w2_ui_pad_tabbar;
WINDOW *g_w2_ui_pad_body;
-unsigned int g_w2_ui_width = 0;
-unsigned int g_w2_ui_height = 0;
-w2_e_ui_tab g_w2_ui_current_tab = W2_UI_TAB_START;
-w2_e_ui_tab g_w2_ui_last_tab;
+unsigned int g_w2_ui_width = 0;
+unsigned int g_w2_ui_height = 0;
+w2_e_ui_tabs g_w2_ui_current_tab = W2_UI_TAB_START;
+w2_e_ui_tabs g_w2_ui_last_tab;
void w2_wmvaddstr(WINDOW *win, unsigned int y, unsigned int x, char *str) {
wmove(win, y, x);
@@ -77,4 +77,3 @@ void w2_ui_paint_statusbar() {
for (unsigned int i = 0; i < g_w2_ui_width; i++) temp[i] = '-';
mvaddnstr(3, 0, temp, g_w2_ui_width);
}
-