aboutsummaryrefslogtreecommitdiff
path: root/client/setup.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-07 21:27:16 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-07 21:27:16 +0200
commit3e65c70da770fa31fc8acc6ab9374d908cf1ed17 (patch)
tree14f8d4c708faccc8b3f992a022f940c00ed694f9 /client/setup.c
parent8c8322a7a0c251d595a0df054324f82d41966e0a (diff)
implement orders
Diffstat (limited to 'client/setup.c')
-rw-r--r--client/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/setup.c b/client/setup.c
index 8b5d07a..43ed135 100644
--- a/client/setup.c
+++ b/client/setup.c
@@ -33,6 +33,7 @@ void w2_client_setup(int argc, char **argv) {
noecho();
curs_set(false);
nodelay(g_w2_ui_win, true);
+ keypad(g_w2_ui_win, true);
w2_strings_init();
w2_cmd_setup_handlers();
@@ -46,7 +47,7 @@ void w2_client_setup(int argc, char **argv) {
g_w2_ui_pad_tabbar = newpad(1, g_w2_ui_width);
g_w2_ui_pad_body = newpad(g_w2_ui_height - 5, g_w2_ui_width);
g_w2_ui_pad_statusbar = newpad(2, g_w2_ui_width);
- g_w2_ui_pad_seperator = newpad(1, g_w2_ui_width);
+ g_w2_ui_pad_seperator = newpad(1, g_w2_ui_width + 1);
scrollok(g_w2_ui_pad_body, true);
// check endianness