diff --git a/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java b/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java index 5ed811e94ae07..8b52af5c7f890 100644 --- a/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java +++ b/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java @@ -86,6 +86,7 @@ import io.quarkus.maven.MavenDevModeLauncher.Builder; import io.quarkus.maven.components.MavenVersionEnforcer; import io.quarkus.maven.utilities.MojoUtils; +import io.quarkus.utilities.OS; /** * The dev mojo, that runs a quarkus app in a forked process. A background compilation process is launched and any changes are @@ -401,6 +402,12 @@ public void execute() throws MojoFailureException, MojoExecutionException { * messes everything up. This attempts to fix that by saving the state so it can be restored */ private void saveTerminalState() { + if (OS.determineOS() == OS.WINDOWS) { + //this does not work on windows + //jansi creates an input pump thread, that will steal + //input from the dev mode process + return; + } try { new TerminalConnection(new Consumer() { @Override