blob: a97523ca7b567e4039f68ebeb59a1d79e73ffa76 [file] [log] [blame]
#include <stdio.h>
#include "getline.h"
main()
/*
* just echo user input lines, letting user edit them and move through
* history list
*/
{
char *p;
do {
p = getline("PROMPT>>>> ");
gl_histadd(p);
fputs(p, stdout);
} while (*p != 0);
}