} else {
input_section = true;
set_current_field(input, field[0]);
+ pos_form_cursor(input);
}
} else if (input_section) {
handle_form_input(input, c);
} else {
set_current_field(edit->input,
edit->field[FLD_DATA]);
+ pos_form_cursor(edit->input);
}
}
break;
case IN_MENU:
edit->section = IN_NAME;
set_current_field(edit->input, edit->field[FLD_NAME]);
+ pos_form_cursor(edit->input);
break;
}
update_panels();
form_driver(edit->input, REQ_VALIDATION) == E_OK) {
edit->section = IN_NAME;
set_current_field(edit->input, edit->field[FLD_NAME]);
+ pos_form_cursor(edit->input);
}
break;
case IN_MENU:
hexedit_set_cursor(edit->buf);
} else {
set_current_field(edit->input, edit->field[FLD_DATA]);
+ pos_form_cursor(edit->input);
}
break;
}