You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@artemis.apache.org by cl...@apache.org on 2026/03/12 18:54:37 UTC
(artemis) branch main updated: ARTEMIS-5951 NewLine on Terminal reader at Input
This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis.git
The following commit(s) were added to refs/heads/main by this push:
new ff2d521d43 ARTEMIS-5951 NewLine on Terminal reader at Input
ff2d521d43 is described below
commit ff2d521d436f6660fb1bb9f5f9c3a908af1e5708
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Thu Mar 12 14:54:07 2026 -0400
ARTEMIS-5951 NewLine on Terminal reader at Input
---
.../java/org/apache/activemq/artemis/cli/commands/InputAbstract.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/InputAbstract.java b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/InputAbstract.java
index e76f9da2d1..c32d7fdde4 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/InputAbstract.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/InputAbstract.java
@@ -69,12 +69,12 @@ public class InputAbstract extends ActionAbstract {
@Override
public String readLine(String prompt) {
- return reader.readLine(prompt);
+ return reader.readLine(prompt + "\n");
}
@Override
public String readPassword(String prompt) {
- return reader.readLine(prompt, '*');
+ return reader.readLine(prompt + "\n", '*');
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@artemis.apache.org
For additional commands, e-mail: commits-help@artemis.apache.org