setConsoleMode