freebsd-dev/lib/libforms/examples/tform.c
Paul Richards 0d18307afc The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
1994-11-13 06:45:44 +00:00

19 lines
245 B
C

#include <stdio.h>
#include <stdlib.h>
#include <ncurses.h>
#include <dialog.h>
#include <forms.h>
extern struct form *form;
void
main()
{
printf("Testing forms code\n");
if (init_forms("example.frm") == -1)
exit(1);
edit_form(form);
}