Copyright | (c) University of Glasgow 2006 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
A collection of FFI declarations for interfacing with Win32 Console API
- getConsoleCP :: IO UINT
- setConsoleCP :: UINT -> IO ()
- getConsoleOutputCP :: IO UINT
- setConsoleOutputCP :: UINT -> IO ()
- type CtrlEvent = DWORD
- cTRL_C_EVENT :: CtrlEvent
- cTRL_BREAK_EVENT :: CtrlEvent
- generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO ()
- commandLineToArgv :: String -> IO [String]
- data CONSOLE_SCREEN_BUFFER_INFO = CONSOLE_SCREEN_BUFFER_INFO {}
- data COORD = COORD {}
- data SMALL_RECT = SMALL_RECT {}
- getConsoleScreenBufferInfo :: HANDLE -> IO CONSOLE_SCREEN_BUFFER_INFO
- getCurrentConsoleScreenBufferInfo :: IO CONSOLE_SCREEN_BUFFER_INFO
Console code pages
getConsoleCP :: IO UINT Source #
setConsoleCP :: UINT -> IO () Source #
setConsoleOutputCP :: UINT -> IO () Source #
Ctrl events
Command line
commandLineToArgv :: String -> IO [String] Source #
This function can be used to parse commandline arguments and return the split up arguments as elements in a list.
Screen buffer
data SMALL_RECT Source #