Changed the prompt to not show the input using >, but : instead(). (0.26.1)
This commit is contained in:
parent
a014b963c2
commit
32f0026140
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
project(fun VERSION 0.26.0 LANGUAGES C)
|
||||
project(fun VERSION 0.26.1 LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
|
|
|||
|
|
@ -998,7 +998,7 @@ int fun_run_repl(VM *vm) {
|
|||
|
||||
char prompt[64];
|
||||
if (buflen == 0) {
|
||||
snprintf(prompt, sizeof(prompt), "fun> ");
|
||||
snprintf(prompt, sizeof(prompt), "fun: ");
|
||||
} else if (indent_debt > 0) {
|
||||
snprintf(prompt, sizeof(prompt), "... %d> ", indent_debt);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue