public class WindowsSupport extends Object
Constructor and Description |
---|
WindowsSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
flushConsoleInputBuffer() |
static int |
getConsoleMode() |
static String |
getLastErrorMessage() |
static int |
getWindowsTerminalHeight() |
static int |
getWindowsTerminalWidth() |
static Kernel32.INPUT_RECORD[] |
peekConsoleInput(int count) |
static int |
readByte() |
static Kernel32.INPUT_RECORD[] |
readConsoleInput(int count) |
static void |
setConsoleMode(int mode) |
static int |
writeConsole(String msg) |
public static String getLastErrorMessage()
public static int readByte()
public static int getConsoleMode()
public static void setConsoleMode(int mode)
public static int getWindowsTerminalWidth()
public static int getWindowsTerminalHeight()
public static int writeConsole(String msg)
public static Kernel32.INPUT_RECORD[] readConsoleInput(int count) throws IOException
IOException
public static Kernel32.INPUT_RECORD[] peekConsoleInput(int count) throws IOException
IOException
public static void flushConsoleInputBuffer()
Copyright © 2009-2015 FuseSource, Corp.. All Rights Reserved.