From 2e1b64bfd959266c247ab16b32c244343590d199 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 6 Oct 2025 18:50:14 +0200 Subject: [PATCH] Reverted some cosmetics to make Fun fun again... ;) (0.26.3) --- CMakeLists.txt | 2 +- src/repl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc02a27..88ef2b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ 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_REQUIRED ON) diff --git a/src/repl.c b/src/repl.c index ccf9f93..de4ea24 100644 --- a/src/repl.c +++ b/src/repl.c @@ -998,11 +998,11 @@ 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 { - snprintf(prompt, sizeof(prompt), "..."); + snprintf(prompt, sizeof(prompt), "... "); } char line[4096];