org.fusesource.jansi.internal
Class WindowsSupport
java.lang.Object
org.fusesource.jansi.internal.WindowsSupport
public class WindowsSupport
- extends java.lang.Object
- Author:
- Hiram Chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsSupport
public WindowsSupport()
getLastErrorMessage
public static java.lang.String getLastErrorMessage()
readByte
public static int readByte()
getConsoleMode
public static int getConsoleMode()
setConsoleMode
public static void setConsoleMode(int mode)
getWindowsTerminalWidth
public static int getWindowsTerminalWidth()
getWindowsTerminalHeight
public static int getWindowsTerminalHeight()
writeConsole
public static int writeConsole(java.lang.String msg)
readConsoleInput
public static Kernel32.INPUT_RECORD[] readConsoleInput(int count)
throws java.io.IOException
- Throws:
java.io.IOException
peekConsoleInput
public static Kernel32.INPUT_RECORD[] peekConsoleInput(int count)
throws java.io.IOException
- Throws:
java.io.IOException
flushConsoleInputBuffer
public static void flushConsoleInputBuffer()
Copyright © 2009-2016 FuseSource, Corp.. All Rights Reserved.