color(ctk_80col_theme.menucolor);
color(ctk_80col_theme.openmenucolor);
draw_menu(struct ctk_menu *m){  unsigned char x, x2, y;    color(ctk_80col_theme.openmenucolor);    revers(0);  x = wherex();  _cputs(m->title);  cputc(' ');  x2 = wherex();  if(x + CTK_CONF_MENUWIDTH > SCREEN_WIDTH) {    x = SCREEN_WIDTH - CTK_CONF_MENUWIDTH - 2;  }      for(y = 0; y < m->nitems; ++y) {    if(y == m->active) {      color(ctk_80col_theme.activemenucolor);    } else {      color(ctk_80col_theme.menucolor);    }    gotoxy(x, y + 1);    ctk_80col_cclear(CTK_CONF_MENUWIDTH/2);    gotoxy(x, y + 1);    if(m->items[y].title[0] == '-') {      chline(CTK_CONF_MENUWIDTH);    } else {      _cputs(m->items[y].title);    }    /*    if(x + CTK_CONF_MENUWIDTH > wherex()) {      cclear(x + CTK_CONF_MENUWIDTH - wherex());      }*/    }  gotoxy(x2, 0);  revers(1);}