Merge pull request #109 from Dhina17/master
Beautify the console readline too
This commit is contained in:
commit
bf5281dfd1
@ -16,7 +16,7 @@ public final class ScannerUtils {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user