From 15982cb83733a6a1312bb186f99a29bdb0eef57f Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Mon, 10 Apr 2023 19:54:11 +0200 Subject: [PATCH] Weird stuff with CLI due to invisible \r character --- pandalib-cli/src/main/java/fr/pandacube/lib/cli/CLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandalib-cli/src/main/java/fr/pandacube/lib/cli/CLI.java b/pandalib-cli/src/main/java/fr/pandacube/lib/cli/CLI.java index 95bb2ec..699ff94 100644 --- a/pandalib-cli/src/main/java/fr/pandacube/lib/cli/CLI.java +++ b/pandalib-cli/src/main/java/fr/pandacube/lib/cli/CLI.java @@ -30,7 +30,7 @@ public class CLI extends Thread { AnsiConsole.systemInstall(); reader = new ConsoleReader(); - reader.setPrompt("\r>"); + reader.setPrompt(">"); reader.addCompleter(CLIBrigadierDispatcher.instance); // configuration du formatteur pour le logger