There can be added the <consolepreferences> tag to compile in console-mode specific settings:

The consolepreferences accept nested elements with the option name as its element name:

OptionValue RangeDescriptionDefault
detectTerminal
true | false

Whether to use a JLine ConsoleReader for console mode installations, which acts as auto-recognition tool of system terminal settings. In dedicated environments this may not work reliably.

true - terminal settings are detected and the output acts according to the recognized terminal size and newline insertion behavior.
false - assume some "hard-wired" terminal settings (if they do not match your terminal output presented to the user won't look that nice, even though this is no critical issue for the installer internally) 

true


<consoleprefs>
  <detectTerminal>false</detectTerminal>
</consoleprefs>

Since: 5.0.7