System.Win32.Console
Copyright | (c) University of Glasgow 2006 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Esa Ilari Vuokko <[email protected]> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Contents
Description
A collection of FFI declarations for interfacing with Win32 Console API
Console code pages
getConsoleCP :: IO UINT
setConsoleCP :: UINT -> IO ()
setConsoleOutputCP :: UINT -> IO ()
Ctrl events
generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO ()
Command line
commandLineToArgv :: String -> IO [String]
This function can be used to parse commandline arguments and return the split up arguments as elements in a list.
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.10.2/docs/html/libraries/Win32-2.6.1.0/System-Win32-Console.html