aa_edit(3) Simple interactive line editor.

SYNOPSIS

#include <aalib.h>

void aa_edit
(
       aa_context *c,

       int x,

       int y,

       int size,

       char *s,

       int maxsize

);

PARAMETERS

aa_context *c
Specifies the AA-lib context to operate on.
int x
X coordinate of the edited text.
int y
Y coordinate of the edited text.
int size
Length of the editor window.
char *s
Buffer to edit (containing default value).
int maxsize
Size of the buffer.

DESCRIPTION

This function produces the simple interactive line editor that can be used by AA-lib programs to input strings.