Portability | portable |
---|---|
Stability | provisional |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Safe Haskell | Trustworthy |
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 ()
Console code pages
setConsoleCP :: UINT -> IO ()Source
setConsoleOutputCP :: UINT -> IO ()Source
Ctrl events
generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO ()Source