From 4e356c1642b73db2f645e4073f369e8706e875b8 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Mon, 8 Jan 2024 16:40:07 +0200 Subject: [PATCH] enhance repl messages --- src/renderer/core.cljs | 5 ++++- src/user.cljs | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/renderer/core.cljs b/src/renderer/core.cljs index 3c9b415a..d0f165ce 100644 --- a/src/renderer/core.cljs +++ b/src/renderer/core.cljs @@ -61,7 +61,10 @@ (defn bootstrap-cb [] (replumb/run-repl "(in-ns 'user)" identity) - (print "Repl initialized")) + (print "Welcome to your REPL!") + (print "") + (print "You can create or modify shapes using the command line.") + (print "Type (help) to see the list of commands.")) (defn init-api [] diff --git a/src/user.cljs b/src/user.cljs index 31d2a47e..1655de2e 100644 --- a/src/user.cljs +++ b/src/user.cljs @@ -26,7 +26,7 @@ (rf/dispatch [:element/fill color])) (defn ^:export delete - "Deletes selected elements." + "Deletes the selected elements." [] (rf/dispatch [:element/delete])) @@ -167,12 +167,12 @@ (rf/dispatch [:element/deselect-all])) (defn ^:export ->path - "Converts selected elements to paths." + "Converts the selected elements to paths." [] (rf/dispatch [:element/->path])) (defn ^:export stroke->path - "Converts selected elements to paths." + "Converts the selected elements' stroke to paths." [] (rf/dispatch [:element/stroke->path]))