For windows, shuld add -Djline.WindowsTerminal.directConsole=false for jline