org.fusesource.jansi.internal
Class WindowsSupport

java.lang.Object
  extended by org.fusesource.jansi.internal.WindowsSupport

public class WindowsSupport
extends java.lang.Object

Author:
Hiram Chirino

Constructor Summary
WindowsSupport()
           
 
Method Summary
static int getConsoleMode()
           
static java.lang.String getLastErrorMessage()
           
static int getWindowsTerminalHeight()
           
static int getWindowsTerminalWidth()
           
static int readByte()
           
static Kernel32.KEY_EVENT_RECORD readConsoleInput()
           
static void setConsoleMode(int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsSupport

public WindowsSupport()
Method Detail

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()

readConsoleInput

public static Kernel32.KEY_EVENT_RECORD readConsoleInput()