move a line from c_ui::__f_init_main_window to c_ui::f_manage_resize for clear the ncurses main window from foo() to bar()