diff options
Diffstat (limited to 'client/setup.c')
-rw-r--r-- | client/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/setup.c b/client/setup.c index fd37c13..22f7e4c 100644 --- a/client/setup.c +++ b/client/setup.c @@ -39,6 +39,13 @@ void w2_client_setup(int argc, char **argv) { w2_send_info(); + g_w2_ui_width = getmaxx(g_w2_ui_win); + g_w2_ui_height = getmaxy(g_w2_ui_win); + + 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); + scrollok(g_w2_ui_pad_body, true); + // check endianness g_w2_endianness = *_ptest; } |