12 if (line == NULL)
return PN_NIL;
14 linenoiseHistoryLoad(
"history.txt");
15 linenoiseHistoryAdd(line);
16 linenoiseHistorySave(
"history.txt");
PN potion_str(Potion *, const char *)
void Potion_Init_readline(Potion *P)
#define potion_method(RCV, MSG, FN, SIG)
PN pn_readline(Potion *P, PN cl, PN self, PN start)
the global interpreter state P. currently singleton (not threads yet)