struct tui_list *wl = (struct tui_list*)w;
assert(wl->type == TUI_LIST);
if(!cmpfunc) {
cmpfunc = (int (*)(const void*, const void*))strcmp;
}
struct tui_list *wl = (struct tui_list*)w;
assert(wl->type == TUI_LIST);
if(!cmpfunc) {
cmpfunc = (int (*)(const void*, const void*))strcmp;
}