java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.jna" is null
at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:443)
at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:362)
at me.tongfei.progressbar.TerminalUtils.getTerminal(TerminalUtils.java:83)
Fixes an NPE
Refs https://github.com/jline/jline3/issues/930