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