I tried to run simple Java application wich is used code completion. When I run it in separate console it works like a charm. But when I try to it via IntelliJ IDEA, then my
jline.TerminalFactory.registerFlavor(TerminalFactory.Flavor.WINDOWS, jline.UnsupportedTerminal.class);