Gradle print vs println

Bringing this up to attention.

Currently, whether in IntelliJ IDEA or Netbeans, both only flush when there is a newline character.

System.out.printf(“xyz\n”);
or
System.out.println(“xyz”);

These two above works. These two below however, do not work until there is another \n

System.out.print(“xyz”);
System.out.printf(“xyz”);

This makes it impossible to obtain user input at the same line due to the fact that System.out.flush() does not work either.