consoleHandle: the handle of the console window, previously returned by the simAuxiliaryConsoleOpen command. When combined with sim.handleflag_extended, then the function will simply query the visibility state of the console.
showState: indicates whether the console should be hidden (0) or shown (!=0)
C return value
-1 if operation was not successful. 0 if the console doesn't exist (anymore), in which case no error is generated. 1 if the console window's show state was changed.
Lua synopsis
number result=sim.auxiliaryConsoleShow(number consoleHandle,Boolean showState)