16 lines
399 B
C++
16 lines
399 B
C++
#pragma once
|
|
|
|
#include "ml.h"
|
|
#include "linenoise.h"
|
|
|
|
#include <string>
|
|
|
|
void setup_linenoise();
|
|
void setup_linenoise_repl(const MlEnvironment &env, const std::map<const std::string, Builtin> &builtins);
|
|
void linenoise_add_to_history(const std::string &line);
|
|
void close_linenoise();
|
|
|
|
|
|
void completion(const char *buf, linenoiseCompletions *lc);
|
|
char *hints(const char *buf, int *color, int *bold);
|