I have a small problem with the Mac terminal. I run a Java program from the terminal and try to read some stuff from the stdin using:
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
System.out.println("Produsul:" + System.getProperty("line.separator"));
productOrder.setProductName(in.readLine());
The program gets stuck. I think that somehow, it doesn't detect EOL. I tried setting Send string to shell (\033OF)
for the end key, but this didn't solve the problem. What am I missing?