--- cui_midi.c- Sun Apr 13 23:30:00 2014 +++ cui_midi.c Sat Apr 19 22:00:00 2014 @@ -477,7 +477,7 @@ int main(int ac, char **av) { - int init_ret = cui_init(ac, av); + int init_ret = cui_init(av); cui root = cui_scpanel_new(NULL, 0, 0, 30, 10, "cui_midi"); cui_scpanel scp = (cui_scpanel)root; cui quit = cui_base_new(scp->view, 2, 1, 0, 1); /* dmy */ @@ -503,7 +503,6 @@ cui obj; - char *cmd = "./add_delta | ./prog31 -V0 -q -play"; int div = 96; int i; @@ -633,19 +632,17 @@ /**/ - cui_show(bs4); + cui_wh_fit(scp->view); + cui_tab_new(scp->view, quit->x, quit->y, -1, (char *[]){"1st", "2nd", "3rd", "4th", NULL}, tab_sheets, 3); - cui_wh_fit(scp->view); cui_wh_exp(bs1); cui_wh_set(root, scp->view->w+3, scp->view->h+3); cui_xy_set(scp->rszbox, root->w-1, root->h-1); - for(i=1; i