Console issues when typing



I have noticed when typing in the console some strange behavior. In the following image see how typing ("") results in ()". Is this a bug? or the console needs some additional configuration (or custom implementation) to support user input text as in the Terminal? 

This is the Java code responsible for the console output:

public class Main {

    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(;
        System.out.println("Enter a string: ");
        String s = br.readLine();
        System.out.println("you wrote: " + s);


1 comment
Comment actions Permalink

This looks like a bug, could you please report it and specify your IDE version, thanks


Please sign in to leave a comment.