Reverted some cosmetics to make Fun fun again... ;) (0.26.3)
This commit is contained in:
parent
9614100903
commit
2e1b64bfd9
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(fun VERSION 0.26.2 LANGUAGES C)
|
project(fun VERSION 0.26.3 LANGUAGES C)
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
|
|
|
||||||
|
|
@ -998,11 +998,11 @@ int fun_run_repl(VM *vm) {
|
||||||
|
|
||||||
char prompt[64];
|
char prompt[64];
|
||||||
if (buflen == 0) {
|
if (buflen == 0) {
|
||||||
snprintf(prompt, sizeof(prompt), "fun:");
|
snprintf(prompt, sizeof(prompt), "fun> ");
|
||||||
} else if (indent_debt > 0) {
|
} else if (indent_debt > 0) {
|
||||||
snprintf(prompt, sizeof(prompt), "...%d> ", indent_debt);
|
snprintf(prompt, sizeof(prompt), "...%d> ", indent_debt);
|
||||||
} else {
|
} else {
|
||||||
snprintf(prompt, sizeof(prompt), "...");
|
snprintf(prompt, sizeof(prompt), "... ");
|
||||||
}
|
}
|
||||||
|
|
||||||
char line[4096];
|
char line[4096];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue