This allows for creation of a single-file to deliver linenoise support:
cat stringbuf.h stringbuf.c utf8.h utf8.c linenoise.c >linenoise-ship.c
Signed-off-by: Steve Bennett <steveb@workware.net.au>
#include <sys/types.h>
#include "linenoise.h"
#include <sys/types.h>
#include "linenoise.h"
#include "utf8.h"
#define LINENOISE_DEFAULT_HISTORY_MAX_LEN 100
#include "utf8.h"
#define LINENOISE_DEFAULT_HISTORY_MAX_LEN 100
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
#include <assert.h>
#ifdef USE_UTF8
#include "utf8.h"
#endif
#ifdef USE_UTF8
#include "utf8.h"
#endif