Skip to content

Commit

Permalink
Merge pull request #109 from Dhina17/master
Browse files Browse the repository at this point in the history
Beautify the console readline too
  • Loading branch information
cavallium committed Jul 11, 2022
2 parents 754b07a + 3d0efdb commit bf5281d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/it/tdlight/common/utils/ScannerUtils.java
Expand Up @@ -16,7 +16,7 @@ public static String askParameter(String displayName, String question) {
synchronized (LOCK) {
Console console = System.console();
if (console != null) {
return console.readLine("[%s] %s", displayName, question);
return console.readLine("[%s] %s: ", displayName, question);
} else {
if (scanner == null) {
scanner = new InputStreamReader(System.in);
Expand Down

0 comments on commit bf5281d

Please sign in to comment.