Skip to content

Commit 211eecc

Browse files
committed
use echo output only on Windows
1 parent 2d5d2a8 commit 211eecc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

grails-bootstrap/src/main/groovy/grails/build/logging/GrailsConsole.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ protected ConsoleReader createConsoleReader() throws IOException {
205205
*/
206206
protected Terminal createTerminal() {
207207
terminal = TerminalFactory.create();
208-
terminal.setEchoEnabled(true);
208+
if(isWindows()) {
209+
terminal.setEchoEnabled(true);
210+
}
209211
return terminal;
210212
}
211213

0 commit comments

Comments
 (0)