mirror of
https://github.com/janet-lang/janet
synced 2025-11-17 15:57:12 +00:00
Change repl prompt.
This commit is contained in:
@@ -55,7 +55,7 @@ void dst_line_deinit() {
|
||||
}
|
||||
|
||||
void dst_line_get(DstBuffer *buffer) {
|
||||
fputs(">> ", stdout);
|
||||
fputs("> ", stdout);
|
||||
simpleline(buffer);
|
||||
}
|
||||
|
||||
@@ -85,8 +85,8 @@ https://github.com/antirez/linenoise/blob/master/linenoise.c
|
||||
#define DST_LINE_MAX 1024
|
||||
#define DST_HISTORY_MAX 100
|
||||
static int israwmode = 0;
|
||||
static const char *prompt = ">> ";
|
||||
static int plen = 3;
|
||||
static const char *prompt = "> ";
|
||||
static int plen = 2;
|
||||
static char buf[DST_LINE_MAX];
|
||||
static int len = 0;
|
||||
static int pos = 0;
|
||||
|
||||
Reference in New Issue
Block a user