I want to get back the value list from an ncurses FIELD with type TYPE_ENUM. The value list has been set with this code:
const char* val_lst[] = { "type 1", "type 2", "type 3", NULL };
set_field_type(fields[OPT_VAL_FLD], TYPE_ENUM, val_lst, 0, 1);
Is this possible, and if so, how? I have seen the function
char *field_arg(FIELD *field);
but could not interpret the pointer it returns.