summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tuiclient/mainwindow.cpp')
-rw-r--r--tuiclient/mainwindow.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tuiclient/mainwindow.cpp b/tuiclient/mainwindow.cpp
index 1dbd590..81fc7e9 100644
--- a/tuiclient/mainwindow.cpp
+++ b/tuiclient/mainwindow.cpp
@@ -151,17 +151,18 @@ void Tmainwindow::init(){
//don't wait for enter
cbreak();
//enable arrow keys
- keypad(stdscr,TRUE);
- keypad(window,TRUE);
+ keypad(stdscr,true);
+ keypad(window,true);
// exit_flag=FALSE;
- visible=TRUE;
- notfresh=TRUE;
+ visible=true;
+ notfresh=true;
// wclear(window);
// wrefresh(window);
// refresh();
help_win.init(" HELP ",14,31,5,5);
log_win.init(" LOG ",12,50,5,5);
distfiles_win.init(" DISTFILES ",12,50,5,5);
+ distfiles_win.visible=true;
error_log_win.init(" ERROR LOG ",12,50,5,5);
disconnected();
show();