diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-07 21:27:16 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-07 21:27:16 +0200 |
commit | 3e65c70da770fa31fc8acc6ab9374d908cf1ed17 (patch) | |
tree | 14f8d4c708faccc8b3f992a022f940c00ed694f9 /client/ui.c | |
parent | 8c8322a7a0c251d595a0df054324f82d41966e0a (diff) |
implement orders
Diffstat (limited to 'client/ui.c')
-rw-r--r-- | client/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/ui.c b/client/ui.c index c45259e..13bcfb2 100644 --- a/client/ui.c +++ b/client/ui.c @@ -34,6 +34,7 @@ void w2_wmvaddnstr(WINDOW *win, unsigned int y, unsigned int x, char *str, unsig void w2_ui_switch_tab(w2_e_ui_tabs next_tab) { g_w2_ui_current_tab = next_tab % W2_UI_TAB_COUNT; wclear(g_w2_ui_pad_body); + curs_set(false); } void w2_ui_key_handler() { @@ -94,7 +95,6 @@ void w2_ui_paint_statusbar() { void w2_ui_paint_seperator() { char temp[g_w2_ui_width]; - for (unsigned int i = 0; i < g_w2_ui_width; i++) temp[i] = '-'; - w2_wmvaddnstr(g_w2_ui_pad_seperator, 0, 0, temp, g_w2_ui_width); + w2_wmvaddnstr(g_w2_ui_pad_seperator, 0, 0, temp, g_w2_ui_width - 1); } |