Re: Maven and TTY terminal

2018-11-25 Thread Olaf Flebbe
Hi, I do not know the implementation of maven surefire plugin. However, what you are trying to achieve is not safe. you cannot assume you have an PTY , for instance if the output is consumed by something like — a testing framework. AFAIK java does not provide an API for this. If you absolutly

Maven and TTY terminal

2018-11-24 Thread Petar Tahchiev
Hi guys, my setup is Ubuntu Linux and Java8. I'm trying to use JLine from Maven to get a TerminalBuild and determine the size of the command line. So JLine has this code inside TerminalBuilder; Pty pty = load(JansiSupport.class).current(); private S load(Class clazz) { return ServiceLoader.