1
0
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:
Calvin Rose
2018-03-14 10:54:29 -04:00
parent 7ec2efcf6d
commit d5e4496e95
2 changed files with 4 additions and 4 deletions

View File

@@ -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;